chore: fix validations int test suite
This commit is contained in:
committed by
Jarrod Flesch
parent
0fddeebbc6
commit
eec98c9674
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user