chore: fix validations int test suite

This commit is contained in:
Alessio Gravili
2024-03-01 15:30:38 -05:00
committed by Jarrod Flesch
parent 0fddeebbc6
commit eec98c9674

View File

@@ -4,11 +4,17 @@ import { number, password, point, relationship, select, text, textarea } from '.
const t = jest.fn((string) => string)
let options: ValidateOptions<any, any, any> = {
let options: ValidateOptions<any, any> = {
data: undefined,
operation: 'create',
siblingData: undefined,
t,
req: {
t,
context: {},
payload: {
config: {},
},
},
}
describe('Field Validations', () => {