You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/snapshots/level.js.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,33 +8,33 @@ Generated by [AVA](https://ava.li).
8
8
9
9
> Snapshot 1
10
10
11
-
`[] warning Error: Invalid option 'level.multipleResolves' returning 'invalid': function must return undefined or one of debug, info, warn, error, silent␊
11
+
`[] warning Error: Invalid option 'level.multipleResolves' returning 'invalid': function must return one of debug, info, warn, error, silent, default␊
12
12
at STACK TRACE`
13
13
14
14
## [rejectionHandled] should emit a warning when opts.level() uses an invalid level
15
15
16
16
> Snapshot 1
17
17
18
-
`[] warning Error: Invalid option 'level.rejectionHandled' returning 'invalid': function must return undefined or one of debug, info, warn, error, silent␊
18
+
`[] warning Error: Invalid option 'level.rejectionHandled' returning 'invalid': function must return one of debug, info, warn, error, silent, default␊
19
19
at STACK TRACE`
20
20
21
21
## [uncaughtException] should emit a warning when opts.level() uses an invalid level
22
22
23
23
> Snapshot 1
24
24
25
-
`[] warning Error: Invalid option 'level.uncaughtException' returning 'invalid': function must return undefined or one of debug, info, warn, error, silent␊
25
+
`[] warning Error: Invalid option 'level.uncaughtException' returning 'invalid': function must return one of debug, info, warn, error, silent, default␊
26
26
at STACK TRACE`
27
27
28
28
## [unhandledRejection] should emit a warning when opts.level() uses an invalid level
29
29
30
30
> Snapshot 1
31
31
32
-
`[] warning Error: Invalid option 'level.unhandledRejection' returning 'invalid': function must return undefined or one of debug, info, warn, error, silent␊
32
+
`[] warning Error: Invalid option 'level.unhandledRejection' returning 'invalid': function must return one of debug, info, warn, error, silent, default␊
33
33
at STACK TRACE`
34
34
35
35
## [warning] should emit a warning when opts.level() uses an invalid level
36
36
37
37
> Snapshot 1
38
38
39
-
`[] warning Error: Invalid option 'level.warning' returning 'invalid': function must return undefined or one of debug, info, warn, error, silent␊
39
+
`[] warning Error: Invalid option 'level.warning' returning 'invalid': function must return one of debug, info, warn, error, silent, default␊
0 commit comments