Commit 8c9b41a
test: show pending exception error in napi tests
Shows the result of the wasPending in the error message if the
assertion fails.
PR-URL: #18413
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>1 parent 650ec2d commit 8c9b41aCopy full SHA for 8c9b41a
File tree
Expand file treeCollapse file tree
1 file changed
+8
-6
lines changedOpen diff view settings
Filter options
- test/addons-napi/test_exception
Expand file treeCollapse file tree
1 file changed
+8
-6
lines changedOpen diff view settings
Collapse file
test/addons-napi/test_exception/test.js
Copy file name to clipboardExpand all lines: test/addons-napi/test_exception/test.js+8-6Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | | - |
24 | | - |
25 | | - |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
26 | 27 | |
27 | 28 | |
28 | 29 | |
| ||
44 | 45 | |
45 | 46 | |
46 | 47 | |
47 | | - |
48 | | - |
49 | | - |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
50 | 52 | |
0 commit comments