Skip to content

Commit

Permalink
Minor linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Nov 29, 2024
1 parent 8e36f89 commit 1cc488e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/core/src/telemetry/anonymous-id.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,12 @@ describe('normalizeGitUrl', () => {
});

describe('unhashedProjectId', () => {
it('does not touch unix paths', () => {
it('does not touch unix paths', () => {
expect(
unhashedProjectId('https://github.com/storybookjs/storybook.git\n', 'path/to/storybook')
).toBe('github.com/storybookjs/storybook.gitpath/to/storybook');
});


it('normalizes windows paths', () => {
expect(
unhashedProjectId('https://github.com/storybookjs/storybook.git\n', 'path\\to\\storybook')
Expand Down

0 comments on commit 1cc488e

Please sign in to comment.