-
-
Notifications
You must be signed in to change notification settings - Fork 370
Expand file tree
/
Copy pathtest-setup.test.ts
More file actions
78 lines (77 loc) 路 1.63 KB
/
Copy pathtest-setup.test.ts
File metadata and controls
78 lines (77 loc) 路 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import transform from './transform';
import { defineTests } from './utils';
// maintain the sorted order
defineTests(transform, [
'any-schema',
'array-element',
'array-nonempty',
'array-schema',
'array-validation-methods',
'bigint-validation-methods',
'brand',
'coerce-bigint-schema',
'coerce-boolean-schema',
'coerce-date-schema',
'coerce-number-schema',
'coerce-string-schema',
'custom-schema',
'date-validation-methods',
'default',
'default-import',
'default-import-with-alias',
'default-import-with-specific-alias',
'describe',
'discriminated-union-schema',
'instanceof-schema',
'intersection-schema',
'literal-schema',
'map-schema',
'multiple-imports-from-zod',
'named-import',
'named-import-with-alias',
'named-import-with-specific-alias',
'namespace-import',
'nan-schema',
'native-enum',
'never-schema',
'null-schema',
'nullable-schema',
'nullish-schema',
'number-validation-methods',
'object-catchall',
'object-deepPartial',
'object-extend',
'object-keyof',
'object-merge',
'object-omit',
'object-partial',
'object-passthrough',
'object-pick',
'object-required',
'object-shape',
'object-strict',
'object-strip',
'optional-schema',
'or',
'parsing',
'readonly',
'record-schema',
'refine',
'schema-chain',
'schema-options',
'set-schema',
'set-validation-methods',
'specific-default-import',
'specific-namespace-import',
'string-validation-methods',
'symbol-schema',
'transform',
'tuple-schema',
'type-inference',
'undefined-schema',
'union-schema',
'unknown-schema',
'validation-error-msg',
'void-schema',
'zod-enum',
]);