I currently have 12 tests and I got this error after test number 10. My config for concurrency is the default value. This is the full error:
Error: Uncaught ReferenceError: process is not defined (http://localhost:8000/__wds-outside-root__/1/node_modules/.pnpm/@vue+shared@3.2.6/node_modules/@vue/shared/dist/shared.esm-bundler.js:472)
at t.onerror (../node_modules/.pnpm/@web+test-runner-mocha@0.7.4/node_modules/@web/test-runner-mocha/dist/autorun.js:1:326338)
I can temporary escape this error with 2 ways:
- Set
concurrency to some higher value. I did 10 and it was fine.
- Run only one test file at a time.