Docs: Update the link to the jsdom repository

Closes gh-4684
This commit is contained in:
Michał Gołębiowski-Owczarek 2020-04-25 20:47:25 +02:00 committed by GitHub
parent 88eb22e059
commit a62309e01b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ To include jQuery in [Node](https://nodejs.org/), first install with npm.
npm install jquery npm install jquery
``` ```
For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes. For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/jsdom/jsdom). This can be useful for testing purposes.
```js ```js
const { JSDOM } = require( "jsdom" ); const { JSDOM } = require( "jsdom" );