Skip to content

ReferenceError: self is not defined ( Mocha+JSdom ) #177

@dlin-me

Description

@dlin-me

Version

0.13.2

Request

Bug

Current behavior

Got the following error when running test cases with mocha+jsdom. Same test run fine with version 0.13.1

ReferenceError: self is not defined
    at eval (Users/dlin/Projects/insiight/onboarding/node_modules/style-loader/addStyles.js:14:30)
    at eval (Users/dlin/Projects/insiight/onboarding/node_modules/style-loader/addStyles.js:9:47)
    at module.exports (Users/dlin/Projects/insiight/onboarding/node_modules/style-loader/addStyles.js:31:68)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions