Skip to content

test: make test-worker-esm-missing-main more robust

Rodrigo Muino Tomonari requested to merge github/fork/Trott/missing-esm into master

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), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading