Skip to content

Commit de8cc7f

Browse files
Copilotstreamich
andcommitted
Remove redundant toString check in test
Co-authored-by: streamich <9773803+streamich@users.noreply.github.com>
1 parent 68ab1b2 commit de8cc7f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/json-type/src/random/__tests__/random.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ describe('Random', () => {
6969
expect(value).toBeLessThanOrEqual(65535);
7070
// Verify no floating-point artifacts
7171
expect(value).toBe(Math.floor(value));
72-
expect(value.toString()).not.toContain('.');
7372
validate(type, value);
7473
}
7574
});

0 commit comments

Comments
 (0)