Commit a24b7de
committed
fix(snap-test): pre-create npm global prefix directory
Tests using npm global operations (link, outdated -g, unlink) fail with
ENOENT when sharded because the NPM_CONFIG_PREFIX directory was only
implicitly created by whichever test ran `npm install -g` first. With
sharding, that test may be in a different shard.1 parent ef6788b commit a24b7de
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| |||
0 commit comments