Comparing version 3.1.3 to 3.1.4
{ | ||
"name": "window", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "Exports a jsdom window object.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -94,5 +94,10 @@ # window | ||
You can see an example of this pattern in my `create-node` module. Specifically [src/create-node.js](https://github.com/lukechilds/create-node/blob/master/src/create-node.js) and [test/unit.js](https://github.com/lukechilds/create-node/blob/master/test/unit.js). | ||
## What about dependencies? | ||
Sometimes you may have dependencies that you can't pass a window object to. In that scenario you can alternatively use [`browser-env`](https://github.com/lukechilds/browser-env) which will simulate a global browser environment. | ||
## License | ||
MIT © Luke Childs |
Sorry, the diff of this file is not supported yet
6268
103