Skip to content

Commit

Permalink
test: fix system fileExt assumption
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Dec 9, 2022
1 parent 671631b commit f420b49
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/system.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,8 @@ describe('system', () => {
it('should return file ext', () => {
const fileExt = faker.system.fileExt();

expect(
fileExt.length,
'generated fileExt should start with ."'
).toBeGreaterThan(1);
expect(fileExt).toBeTypeOf('string');
expect(fileExt).not.toBe('');
});

it('should return file ext based on mimeType', () => {
Expand Down

0 comments on commit f420b49

Please sign in to comment.