@@ -32,32 +32,32 @@ Zero-configuration when paired with other helpers like REST, Playwright:
32
32
#### Parameters
33
33
34
34
- ` targetData ` ** any**
35
- - ` aboveThan ` ** any** number | Date
36
- - ` customErrorMsg ` ** any**
35
+ - ` aboveThan ` ** any**
36
+ - ` customErrorMsg ` ** any? **
37
37
38
38
### expectBelow
39
39
40
40
#### Parameters
41
41
42
42
- ` targetData ` ** any**
43
- - ` belowThan ` ** any** number | Date
44
- - ` customErrorMsg ` ** any**
43
+ - ` belowThan ` ** any**
44
+ - ` customErrorMsg ` ** any? **
45
45
46
46
### expectContain
47
47
48
48
#### Parameters
49
49
50
50
- ` actualValue ` ** any**
51
51
- ` expectedValueToContain ` ** any**
52
- - ` customErrorMsg ` ** any**
52
+ - ` customErrorMsg ` ** any? **
53
53
54
54
### expectDeepEqual
55
55
56
56
#### Parameters
57
57
58
58
- ` actualValue ` ** any**
59
59
- ` expectedValue ` ** any**
60
- - ` customErrorMsg ` ** any**
60
+ - ` customErrorMsg ` ** any? **
61
61
62
62
### expectDeepEqualExcluding
63
63
@@ -68,7 +68,7 @@ expects members of two JSON objects are deeply equal excluding some properties
68
68
- ` actualValue ` ** any**
69
69
- ` expectedValue ` ** any**
70
70
- ` fieldsToExclude ` ** any**
71
- - ` customErrorMsg ` ** any**
71
+ - ` customErrorMsg ` ** any? **
72
72
73
73
### expectDeepIncludeMembers
74
74
@@ -78,7 +78,7 @@ expects an array to be a superset of another array
78
78
79
79
- ` superset ` ** any**
80
80
- ` set ` ** any**
81
- - ` customErrorMsg ` ** any**
81
+ - ` customErrorMsg ` ** any? **
82
82
83
83
### expectDeepMembers
84
84
@@ -88,77 +88,77 @@ expects members of two arrays are deeply equal
88
88
89
89
- ` actualValue ` ** any**
90
90
- ` expectedValue ` ** any**
91
- - ` customErrorMsg ` ** any**
91
+ - ` customErrorMsg ` ** any? **
92
92
93
93
### expectEmpty
94
94
95
95
#### Parameters
96
96
97
97
- ` targetData ` ** any**
98
- - ` customErrorMsg ` ** any**
98
+ - ` customErrorMsg ` ** any? **
99
99
100
100
### expectEndsWith
101
101
102
102
#### Parameters
103
103
104
104
- ` actualValue ` ** any**
105
105
- ` expectedValueToEndWith ` ** any**
106
- - ` customErrorMsg ` ** any**
106
+ - ` customErrorMsg ` ** any? **
107
107
108
108
### expectEqual
109
109
110
110
#### Parameters
111
111
112
112
- ` actualValue ` ** any**
113
113
- ` expectedValue ` ** any**
114
- - ` customErrorMsg ` ** any**
114
+ - ` customErrorMsg ` ** any? **
115
115
116
116
### expectEqualIgnoreCase
117
117
118
118
#### Parameters
119
119
120
120
- ` actualValue ` ** any**
121
121
- ` expectedValue ` ** any**
122
- - ` customErrorMsg ` ** any**
122
+ - ` customErrorMsg ` ** any? **
123
123
124
124
### expectFalse
125
125
126
126
#### Parameters
127
127
128
128
- ` targetData ` ** any**
129
- - ` customErrorMsg ` ** any**
129
+ - ` customErrorMsg ` ** any? **
130
130
131
131
### expectHasAProperty
132
132
133
133
#### Parameters
134
134
135
135
- ` targetData ` ** any**
136
136
- ` propertyName ` ** any**
137
- - ` customErrorMsg ` ** any**
137
+ - ` customErrorMsg ` ** any? **
138
138
139
139
### expectHasProperty
140
140
141
141
#### Parameters
142
142
143
143
- ` targetData ` ** any**
144
144
- ` propertyName ` ** any**
145
- - ` customErrorMsg ` ** any**
145
+ - ` customErrorMsg ` ** any? **
146
146
147
147
### expectJsonSchema
148
148
149
149
#### Parameters
150
150
151
151
- ` targetData ` ** any**
152
152
- ` jsonSchema ` ** any**
153
- - ` customErrorMsg ` ** any**
153
+ - ` customErrorMsg ` ** any? **
154
154
155
155
### expectJsonSchemaUsingAJV
156
156
157
157
#### Parameters
158
158
159
159
- ` targetData ` ** any**
160
160
- ` jsonSchema ` ** any**
161
- - ` customErrorMsg ` ** any**
161
+ - ` customErrorMsg ` ** any? **
162
162
- ` ajvOptions ` ** any** Pass AJV options
163
163
164
164
### expectLengthAboveThan
@@ -167,23 +167,23 @@ expects members of two arrays are deeply equal
167
167
168
168
- ` targetData ` ** any**
169
169
- ` lengthAboveThan ` ** any**
170
- - ` customErrorMsg ` ** any**
170
+ - ` customErrorMsg ` ** any? **
171
171
172
172
### expectLengthBelowThan
173
173
174
174
#### Parameters
175
175
176
176
- ` targetData ` ** any**
177
177
- ` lengthBelowThan ` ** any**
178
- - ` customErrorMsg ` ** any**
178
+ - ` customErrorMsg ` ** any? **
179
179
180
180
### expectLengthOf
181
181
182
182
#### Parameters
183
183
184
184
- ` targetData ` ** any**
185
185
- ` length ` ** any**
186
- - ` customErrorMsg ` ** any**
186
+ - ` customErrorMsg ` ** any? **
187
187
188
188
### expectMatchesPattern
189
189
@@ -193,83 +193,83 @@ expects a JSON object matches a provided pattern
193
193
194
194
- ` actualValue ` ** any**
195
195
- ` expectedPattern ` ** any**
196
- - ` customErrorMsg ` ** any**
196
+ - ` customErrorMsg ` ** any? **
197
197
198
198
### expectMatchRegex
199
199
200
200
#### Parameters
201
201
202
202
- ` targetData ` ** any**
203
203
- ` regex ` ** any**
204
- - ` customErrorMsg ` ** any**
204
+ - ` customErrorMsg ` ** any? **
205
205
206
206
### expectNotContain
207
207
208
208
#### Parameters
209
209
210
210
- ` actualValue ` ** any**
211
211
- ` expectedValueToNotContain ` ** any**
212
- - ` customErrorMsg ` ** any**
212
+ - ` customErrorMsg ` ** any? **
213
213
214
214
### expectNotDeepEqual
215
215
216
216
#### Parameters
217
217
218
218
- ` actualValue ` ** any**
219
219
- ` expectedValue ` ** any**
220
- - ` customErrorMsg ` ** any**
220
+ - ` customErrorMsg ` ** any? **
221
221
222
222
### expectNotEndsWith
223
223
224
224
#### Parameters
225
225
226
226
- ` actualValue ` ** any**
227
227
- ` expectedValueToNotEndWith ` ** any**
228
- - ` customErrorMsg ` ** any**
228
+ - ` customErrorMsg ` ** any? **
229
229
230
230
### expectNotEqual
231
231
232
232
#### Parameters
233
233
234
234
- ` actualValue ` ** any**
235
235
- ` expectedValue ` ** any**
236
- - ` customErrorMsg ` ** any**
236
+ - ` customErrorMsg ` ** any? **
237
237
238
238
### expectNotStartsWith
239
239
240
240
#### Parameters
241
241
242
242
- ` actualValue ` ** any**
243
243
- ` expectedValueToNotStartWith ` ** any**
244
- - ` customErrorMsg ` ** any**
244
+ - ` customErrorMsg ` ** any? **
245
245
246
246
### expectStartsWith
247
247
248
248
#### Parameters
249
249
250
250
- ` actualValue ` ** any**
251
251
- ` expectedValueToStartWith ` ** any**
252
- - ` customErrorMsg ` ** any**
252
+ - ` customErrorMsg ` ** any? **
253
253
254
254
### expectToBeA
255
255
256
256
#### Parameters
257
257
258
258
- ` targetData ` ** any**
259
259
- ` type ` ** any**
260
- - ` customErrorMsg ` ** any**
260
+ - ` customErrorMsg ` ** any? **
261
261
262
262
### expectToBeAn
263
263
264
264
#### Parameters
265
265
266
266
- ` targetData ` ** any**
267
267
- ` type ` ** any**
268
- - ` customErrorMsg ` ** any**
268
+ - ` customErrorMsg ` ** any? **
269
269
270
270
### expectTrue
271
271
272
272
#### Parameters
273
273
274
274
- ` targetData ` ** any**
275
- - ` customErrorMsg ` ** any**
275
+ - ` customErrorMsg ` ** any? **
0 commit comments