Skip to content

Commit 9c8b75a

Browse files
committed
Cleanup snapshots
1 parent fd89d44 commit 9c8b75a

File tree

4 files changed

+7
-342
lines changed

4 files changed

+7
-342
lines changed

test/snapshots/options.js.md

Lines changed: 7 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -195,32 +195,32 @@ Generated by [AVA](https://ava.li).
195195
"message": function(){}␊
196196
}`
197197

198-
## {"test":"ava"} should validate options
198+
## {"testing":"ava"} should validate options
199199

200200
> Snapshot 1
201201
202-
'Invalid option \'log\': it must not be defined together with the option \'test\' \'ava\''
202+
'Invalid option \'log\': it must not be defined together with the option \'testing\' \'ava\''
203203

204-
## {"test":"invalid"} should validate options
204+
## {"testing":"invalid"} should validate options
205205

206206
> Snapshot 1
207207
208-
'Invalid option \'test\' \'invalid\': must be one of ava'
208+
'Invalid option \'testing\' \'invalid\': must be one of ava'
209209

210-
## {"test":true} should validate options
210+
## {"testing":true} should validate options
211211

212212
> Snapshot 1
213213
214214
`● Validation Error:␊
215215
216-
Option "test" must be of type:␊
216+
Option "testing" must be of type:␊
217217
string␊
218218
but instead received:␊
219219
boolean␊
220220
221221
Example:␊
222222
{␊
223-
"test": "ava"␊
223+
"testing": "ava"␊
224224
}`
225225

226226
## {"unknown":true} should warn on options
@@ -231,31 +231,3 @@ Generated by [AVA](https://ava.li).
231231
232232
Unknown option "unknown" with value true was found.␊
233233
This is probably a typing mistake. Fixing it will remove this message.`
234-
235-
## {"testing":"ava"} should validate options
236-
237-
> Snapshot 1
238-
239-
'Invalid option \'log\': it must not be defined together with the option \'testing\' \'ava\''
240-
241-
## {"testing":"invalid"} should validate options
242-
243-
> Snapshot 1
244-
245-
'Invalid option \'testing\' \'invalid\': must be one of ava'
246-
247-
## {"testing":true} should validate options
248-
249-
> Snapshot 1
250-
251-
`● Validation Error:␊
252-
253-
Option "testing" must be of type:␊
254-
string␊
255-
but instead received:␊
256-
boolean␊
257-
258-
Example:␊
259-
{␊
260-
"testing": "ava"␊
261-
}`

test/snapshots/options.js.snap

-100 Bytes
Binary file not shown.

test/snapshots/test_opt.js.md

Lines changed: 0 additions & 307 deletions
This file was deleted.

test/snapshots/test_opt.js.snap

-964 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)