mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Docs: Update the link to the jsdom repository
Closes gh-4684
This commit is contained in:
parent
88eb22e059
commit
a62309e01b
@ -53,7 +53,7 @@ To include jQuery in [Node](https://nodejs.org/), first install with npm.
|
||||
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
|
||||
const { JSDOM } = require( "jsdom" );
|
||||
|
Loading…
Reference in New Issue
Block a user