Commit 2d63b65
test: refactor addons-napi/test_promise/test.js
* remove custom messages for assert that conceal values
* add comment explaining test
* add block scoping
PR-URL: #16814
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent b1802ed commit 2d63b65Copy full SHA for 2d63b65
File tree
Expand file treeCollapse file tree
1 file changed
+17
-14
lines changedOpen diff view settings
Filter options
- test/addons-napi/test_promise
Expand file treeCollapse file tree
1 file changed
+17
-14
lines changedOpen diff view settings
Collapse file
test/addons-napi/test_promise/test.js
Copy file name to clipboardExpand all lines: test/addons-napi/test_promise/test.js+17-14Lines changed: 17 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
| 4 | + |
| 5 | + |
| 6 | + |
5 | 7 | |
| 8 | + |
6 | 9 | |
7 | 10 | |
8 | 11 | |
9 | 12 | |
10 | 13 | |
11 | 14 | |
12 | 15 | |
13 | | - |
14 | | - |
| 16 | + |
15 | 17 | |
16 | 18 | |
17 | 19 | |
| ||
24 | 26 | |
25 | 27 | |
26 | 28 | |
27 | | - |
28 | | - |
| 29 | + |
29 | 30 | |
30 | 31 | |
31 | 32 | |
32 | 33 | |
33 | 34 | |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
42 | 45 | |
43 | | - |
| 46 | + |
44 | 47 | |
45 | 48 | |
46 | 49 | |
|
0 commit comments