Skip to content

TypeError: Cannot redefine property: Infinity #77

@niftylettuce

Description

@niftylettuce

Setting the jsdom option of runScripts with value of 'dangerously' causes the following exception:

  TypeError: Cannot redefine property: Infinity

  Object.getOwnPropertyNames.filter.filter.forEach.prop (node_modules/browser-env/src/index.js:41:9)
  browserEnv (node_modules/browser-env/src/index.js:40:6)
  Object.browserEnv (test/browser-env.js:9:1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions