Skip to content

Commit

Permalink
chore: fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jan 23, 2024
1 parent ea2a4ec commit 85ab813
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/stega/vercelStegaCleanAll.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ test('it handles values that are not supported by JSON', () => {
]),
),
).toMatchInlineSnapshot(`{}`)
expect(vercelStegaCleanAll([{foo: undefined, bar: null, baz: new Date('1995-12-17T03:24:00')}]))
.toMatchInlineSnapshot(`
expect(
vercelStegaCleanAll([{foo: undefined, bar: null, baz: new Date('1995-12-17T02:24:00.000Z')}]),
).toMatchInlineSnapshot(`
[
{
"bar": null,
Expand Down

0 comments on commit 85ab813

Please sign in to comment.