Commit e942142
committed
test: disable nyc's translation cache
NYC caches the instrumented sources, but doesn't know that we patch NYC (at
`yarn install` time) to accept options that control the injected measurement
code. If you upgrade to this branch, then immediately run `yarn test-nyc`
without first doing a top-level `yarn` (install), you'll get incorrectly
instrumented code in the cache, and a subsequent `yarn` (install) won't clear
out the cache.
It seems like the cache doesn't speed up e.g. `zoe/test/unitTests` by more
than about 10%, so I'm disabling it to reduce some of the inevitable
confusion we'll get as we cut over. We might re-enable it later once
everybody's trees are updated.1 parent 7bbe5e3 commit e942142
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments