Skip to content

Commit

Permalink
Update new tests to be compatible with Vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
arturmuller committed Jun 30, 2024
1 parent 3c715bb commit 9b42453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/api/mask.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe('mask', () => {
object({ b: string() }),
])
const value = { a: '1', extraProp: 42 }
deepStrictEqual(mask(value, S), { a: '1', defaultedProp: '42' })
expect(mask(value, S)).toStrictEqual({ a: '1', defaultedProp: '42' })
})

it('masking of a top level type and nested object', () => {
Expand Down

0 comments on commit 9b42453

Please sign in to comment.