* fix: console logger can serialize bigint values * teach test jsdom is present * add a changeset
12 lines
251 B
TypeScript
12 lines
251 B
TypeScript
/**
|
|
* @jest-environment jsdom
|
|
*/
|
|
|
|
import { stringify } from '../../../src/plugins/console/record/stringify';
|
|
|
|
describe('console record plugin', () => {
|
|
it('can stringify bigint', () => {
|
|
expect(stringify(BigInt(1))).toEqual('"1n"');
|
|
});
|
|
});
|