Commit 27d7588
test: add ancestor package.json checks for tmpdir
Policy tests can fail if a `package.json` exists in any of the parent
directories above the test. The existing checks are done for the
ancestors of the test directory but some tests execute from the tmpdir.
PR-URL: #38285
Refs: #38088
Refs: #35600
Refs: #35633
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 0e88ae7 commit 27d7588Copy full SHA for 27d7588
File tree
Expand file treeCollapse file tree
3 files changed
+8
-5
lines changedOpen diff view settings
Filter options
- test
- common
- pummel
Expand file treeCollapse file tree
3 files changed
+8
-5
lines changedOpen diff view settings
Collapse file
+5-3Lines changed: 5 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
370 | 370 | |
371 | 371 | |
372 | 372 | |
373 | | - |
| 373 | + |
374 | 374 | |
375 | | - |
376 | | - |
| 375 | + |
| 376 | + |
| 377 | + |
| 378 | + |
377 | 379 | |
378 | 380 | |
379 | 381 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
708 | 708 | |
709 | 709 | |
710 | 710 | |
711 | | - |
712 | | - |
| 711 | + |
| 712 | + |
713 | 713 | |
714 | 714 | |
715 | 715 | |
|
Collapse file
test/pummel/test-policy-integrity.js
Copy file name to clipboardExpand all lines: test/pummel/test-policy-integrity.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
76 | 76 | |
77 | 77 | |
78 | 78 | |
| 79 | + |
79 | 80 | |
80 | 81 | |
81 | 82 | |
|
0 commit comments