Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri committed Dec 19, 2024
1 parent 98183e7 commit 5fdeecd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/common.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ describe('CommonUtils', () => {
it('return types which are not array without any change', () => {
expect(stripArrayTypeIfPresent('string')).toBe('string');
expect(stripArrayTypeIfPresent('string []')).toBe('string []');
expect(stripArrayTypeIfPresent(undefined as unknown as string)).toBe(undefined);

Check failure on line 13 in src/utils/common.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (20.x)

Use `toBeUndefined` instead

Check failure on line 13 in src/utils/common.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (20.x)

Replace `undefined` with `⏎········undefined,⏎······`

Check failure on line 13 in src/utils/common.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (22.x)

Use `toBeUndefined` instead

Check failure on line 13 in src/utils/common.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (22.x)

Replace `undefined` with `⏎········undefined,⏎······`

Check failure on line 13 in src/utils/common.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (18.x)

Use `toBeUndefined` instead

Check failure on line 13 in src/utils/common.test.ts

View workflow job for this annotation

GitHub Actions / Build, lint, and test / Lint (18.x)

Replace `undefined` with `⏎········undefined,⏎······`
});
});
});

0 comments on commit 5fdeecd

Please sign in to comment.