Commit 511ba83
authored
test: Improve workspace dir handling (#8613)
Instead of looking up folders in `package`, fetch the packages from the
root package.json. This way, if you e.g. have empty folders or similar
in your `package/` dir, it will not fail.
I notice this sometimes when working with new packages or similar, and
switching branches, you may have leftover empty directories in
`packages/`, which leads to integration tests failing unless you make
sure to delete the directories.1 parent df7bb25 commit 511ba83
1 file changed
+3
-5
lines changedLines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 104 | + | |
| 105 | + | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
| |||
0 commit comments