File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
docs/react-testing-library Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -294,19 +294,19 @@ configuration with Jest).
294294` jsdom ` is a pure JavaScript implementation of the DOM and browser APIs that
295295runs in Node. If you're not using Jest and you would like to run your tests in
296296Node, then you must install jsdom yourself. There's also a package called
297- ` jsdom- global` which can be used to setup the global environment to simulate the
297+ ` global-jsdom ` which can be used to setup the global environment to simulate the
298298browser APIs.
299299
300- First, install ` jsdom ` and ` jsdom- global` .
300+ First, install ` jsdom ` and ` global-jsdom ` .
301301
302302```
303- npm install --save-dev jsdom jsdom- global
303+ npm install --save-dev jsdom global-jsdom
304304```
305305
306306With mocha, the test command would look something like this:
307307
308308```
309- mocha --require jsdom- global/register
309+ mocha --require global-jsdom /register
310310```
311311
312312### Skipping Auto Cleanup
You can’t perform that action at this time.
0 commit comments