Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulwer committed Nov 12, 2024
1 parent 42f85a6 commit d9c952c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/framework/src/validators/validator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
NestedArraySchema,
SimpleTestEnumSchema,
UnionSchema,
OneOfSchema,
} from './fixures/class-validator.fixtures';

const schemas = ['zod', 'class', 'json'] as const;
Expand Down Expand Up @@ -189,7 +188,7 @@ describe('validators', () => {
title: 'should successfully validate a polymorphic oneOf schema',
schemas: {
zod: null, // Zod has no support for `oneOf`
class: OneOfSchema, // ClassValidator has no support for `oneOf`
class: null, // ClassValidator has no support for `oneOf`
json: {
oneOf: [
{ type: 'object', properties: { stringType: { type: 'string' } }, required: ['stringType'] },
Expand Down

0 comments on commit d9c952c

Please sign in to comment.