Commit 8958af4
test: add onerror test cases to policy
Increase test coverage of lib/internal/policy/manifest.js
PR-URL: #35797
Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L60
Refs: https://coverage.nodejs.org/coverage-642f2064c06793b7/lib/internal/policy/manifest.js.html#L146
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent d291e3a commit 8958af4Copy full SHA for 8958af4
File tree
Expand file treeCollapse file tree
2 files changed
+49
-4
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
2 files changed
+49
-4
lines changedOpen diff view settings
Collapse file
test/parallel/test-policy-parse-integrity.js
Copy file name to clipboardExpand all lines: test/parallel/test-policy-parse-integrity.js+16-4Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
44 | 44 | |
45 | 45 | |
46 | 46 | |
47 | | - |
| 47 | + |
| 48 | + |
48 | 49 | |
49 | 50 | |
50 | 51 | |
| ||
55 | 56 | |
56 | 57 | |
57 | 58 | |
58 | | - |
59 | | - |
60 | | - |
61 | 59 | |
62 | 60 | |
63 | 61 | |
| ||
96 | 94 | |
97 | 95 | |
98 | 96 | |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
Collapse file
test/parallel/test-policy-scopes-integrity.js
Copy file name to clipboardExpand all lines: test/parallel/test-policy-scopes-integrity.js+33Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
280 | 280 | |
281 | 281 | |
282 | 282 | |
| 283 | + |
| 284 | + |
| 285 | + |
| 286 | + |
| 287 | + |
| 288 | + |
| 289 | + |
| 290 | + |
| 291 | + |
| 292 | + |
| 293 | + |
| 294 | + |
| 295 | + |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
| 302 | + |
| 303 | + |
| 304 | + |
| 305 | + |
| 306 | + |
| 307 | + |
| 308 | + |
| 309 | + |
| 310 | + |
| 311 | + |
| 312 | + |
| 313 | + |
| 314 | + |
| 315 | + |
0 commit comments