Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

"ReferenceError: process is not defined" when using low value for concurrency #15

@Mehdi-Hp

Description

@Mehdi-Hp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions