Commit 10b68ed
test: ignore unrelated events in FW watch tests
Change assertions on `test-fs-watch-recursive-add-*` tests to only take
into account change events that match the file.
PR-URL: #55605
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 9dbb255 commit 10b68edCopy full SHA for 10b68ed
File tree
Expand file treeCollapse file tree
5 files changed
+16
-32
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
5 files changed
+16
-32
lines changedOpen diff view settings
Collapse file
test/parallel/test-fs-watch-recursive-add-file-to-existing-subfolder.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-watch-recursive-add-file-to-existing-subfolder.js+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | | - |
44 | | - |
45 | 43 | |
| 44 | + |
46 | 45 | |
47 | 46 | |
48 | 47 | |
|
Collapse file
test/parallel/test-fs-watch-recursive-add-file-to-new-folder.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-watch-recursive-add-file-to-new-folder.js+12-24Lines changed: 12 additions & 24 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | | - |
37 | | - |
38 | | - |
| 36 | + |
| 37 | + |
| 38 | + |
39 | 39 | |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
54 | 44 | |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
62 | 50 | |
63 | 51 | |
64 | 52 | |
|
Collapse file
test/parallel/test-fs-watch-recursive-add-file-with-url.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-watch-recursive-add-file-with-url.js+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
35 | 35 | |
36 | 36 | |
37 | 37 | |
38 | | - |
39 | | - |
40 | 38 | |
| 39 | + |
41 | 40 | |
42 | 41 | |
43 | 42 | |
|
Collapse file
test/parallel/test-fs-watch-recursive-add-file.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-watch-recursive-add-file.js+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
35 | | - |
36 | 34 | |
| 35 | + |
37 | 36 | |
38 | 37 | |
39 | 38 | |
|
Collapse file
test/parallel/test-fs-watch-recursive-add-folder.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-watch-recursive-add-folder.js+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | | - |
37 | | - |
38 | 36 | |
| 37 | + |
39 | 38 | |
40 | 39 | |
41 | 40 | |
|
0 commit comments