VoidZero @voidzero.dev · Nov 19

Did you know that you can match against Standard Schemas in @vitest.dev? With the release of Vitest 4, this is possible now. No matter if you want to match your whole data or only partials against a schema and no matter which validation library is used as long as they support Standard Schema

52 likes 1 replies

?

Replies

Rodrigo Dias · Nov 19

Using Vitest with Zod already, this schema matching cleans up tests.