From 9b424536d8d010dfb80c88861516dfbfde89afd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20M=C3=BCller?= Date: Sun, 30 Jun 2024 21:28:39 +0200 Subject: [PATCH] Update new tests to be compatible with Vitest --- test/api/mask.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/mask.test.ts b/test/api/mask.test.ts index ff9e4dfd..fee3d99f 100644 --- a/test/api/mask.test.ts +++ b/test/api/mask.test.ts @@ -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', () => {