Commit 967334b
committed
test: fixup worker + source map test
The messaging code uses `Object.defineProperty()`, which accesses
`value` on `Object.prototype` by default, so some calls to the
getter here would actually be expected. Instead, make the list
of accessed properties more specific to the tested source map
code to avoid flakiness.
Refs: https://twitter.com/addaleax/status/1276289101671608320
Refs: #34057
PR-URL: #34446
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent 26c5f9f commit 967334bCopy full SHA for 967334b
File tree
Expand file treeCollapse file tree
1 file changed
+6
-4
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+6
-4
lines changedOpen diff view settings
Collapse file
test/parallel/test-worker-terminate-source-map.js
Copy file name to clipboardExpand all lines: test/parallel/test-worker-terminate-source-map.js+6-4Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
39 | 41 | |
40 | 42 | |
0 commit comments