browser-env icon indicating copy to clipboard operation
browser-env copied to clipboard

Simulates a global browser environment using jsdom

Results 11 browser-env issues
Sort by recently updated
recently updated
newest added

Setting the jsdom option of `runScripts` with value of `'dangerously'` causes the following exception: ```sh 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) ```

I'm trying to run this with ava according to this [manual](https://github.com/avajs/ava/blob/master/docs/recipes/browser-testing.md). But when I'm using `fetch`, I get ```bash ReferenceError: fetch is not defined ```

Redefining certain properties (NaN, undefined, etc.) is not possible. Without skipping them it throws an error, preventing to set `runScripts: 'dangerously'`

## Version **0.20.0** of [xo](https://github.com/xojs/xo) was just published. Dependency xo Current Version 0.18.2 Type devDependency The version **0.20.0** is **not covered** by your **current version range**. If you don’t accept...

greenkeeper

## The devDependency [ava](https://github.com/avajs/ava) was updated from `0.25.0` to `1.0.1`. This version is **not covered** by your **current version range**. If you don’t accept this pull request, your project will...

greenkeeper

It seems all options passed to `jsdom` work except `virtualConsole`. ```js const browserEnv = require('browser-env'); const { VirtualConsole, CookieJar } = require('jsdom'); const cookieJar = new CookieJar(); const virtualConsole =...

## Version **12.0.1** of [nyc](https://github.com/istanbuljs/nyc) was just published. Dependency nyc Current Version 11.9.0 Type devDependency The version **12.0.1** is **not covered** by your **current version range**. If you don’t accept...

greenkeeper

* Update all outdated dependencies. * Name all tests. * Fix linting I encounter an issue with the updated jsDOM dependencies. In order to read `localStorage` and `sessionStorage`, jsDOM must...