We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3c41fc commit 82a37ffCopy full SHA for 82a37ff
packages/utils/test/normalize.test.ts
@@ -290,6 +290,11 @@ describe('normalize()', () => {
290
test('primitive values', () => {
291
expect(normalize(undefined)).toEqual('[undefined]');
292
expect(normalize(NaN)).toEqual('[NaN]');
293
+ expect(normalize(Symbol('dogs'))).toEqual('[Symbol(dogs)]');
294
+ // `BigInt` doesn't exist in Node 8
295
+ if (Number(process.versions.node.split('.')[0]) >= 10) {
296
+ expect(normalize(BigInt(1121201212312012))).toEqual('[BigInt: 1121201212312012]');
297
+ }
298
});
299
300
test('functions', () => {
0 commit comments