diff --git a/__tests__/testCases.ts b/__tests__/testCases.ts index 801f729..a88ea56 100644 --- a/__tests__/testCases.ts +++ b/__tests__/testCases.ts @@ -108,6 +108,16 @@ const testCases: TestCaseGroup[] = [ ], ], }, + { + name: 'z.enum()', + testCases: [ + [ + 'z.enum(["a", "b"])', + z.enum(['a', 'b']), + { bsonType: 'string', enum: ['a', 'b'] }, + ], + ], + }, ] export default testCases