Skip to content

[Bug] - ReferenceError: process is not defined #221

Description

@saschb2b

Our project bumps package versions automatically and since 5.1.7 our tests fail with

Chrome Headless 93.0.4577.82 (Linux x86_64) ERROR
  An error was thrown in afterAll
  Uncaught ReferenceError: process is not defined
  ReferenceError: process is not defined
      at Object.call (http://localhost:8080/_karma_webpack_/webpack:/node_modules/nise/nise.js:9816:1)
      at o (http://localhost:8080/_karma_webpack_/webpack:/node_modules/nise/nise.js:1:629)
      at require (http://localhost:8080/_karma_webpack_/webpack:/node_modules/nise/nise.js:1:680)
      at Object.call (http://localhost:8080/_karma_webpack_/webpack:/node_modules/nise/nise.js:686:15)
      at o (http://localhost:8080/_karma_webpack_/webpack:/node_modules/nise/nise.js:1:629)
      at require (http://localhost:8080/_karma_webpack_/webpack:/node_modules/nise/nise.js:1:680)
      at Object.call (http://localhost:8080/_karma_webpack_/webpack:/node_modules/nise/nise.js:336:11)
      at o (http://localhost:8080/_karma_webpack_/webpack:/node_modules/nise/nise.js:1:629)
      at require (http://localhost:8080/_karma_webpack_/webpack:/node_modules/nise/nise.js:1:680)
      at Object.12../fake-server (http://localhost:8080/_karma_webpack_/webpack:/node_modules/nise/nise.js:1646:17)

After reverting back to version 5.1.5 it works as intended.

Not really sure what could be the culprit here. Only saw the major version bump in sinon common package as dependencies? Was there a breaking change that I'm not aware of?

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