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 6e7f957 commit e67fa81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/common.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ 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)).toBeUndefined();
expect(
stripArrayTypeIfPresent(undefined as unknown as string),
).toBeUndefined();
});
});
});

0 comments on commit e67fa81

Please sign in to comment.