test: make test-worker-esm-missing-main more robust
test-worker-esm-missing-main failed in CI recently in a way that
suggests that maybe the does-not-exist.js
file did in fact exist.
Maybe that isn't what happened at all, but let's rule it out by changing
the use of does-not-exist.js
from a file expected to be missing from
the current working directory to a file in the temp directory, which the
test will remove and recreate at the outset.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines