-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
### Basic info: | ||
|
||
- **Node.js version:** <!-- only v6 and above are supported --> | ||
- **jsdom version:** <!-- only v10 and above are supported --> | ||
|
||
### Minimal reproduction case | ||
|
||
```js | ||
const { JSDOM } = require("jsdom"); | ||
|
||
const options = { | ||
... your options here ... | ||
}; | ||
const dom = new JSDOM(` | ||
... your HTML here ... | ||
`, options); | ||
|
||
... your code that reproduces the problem here, probably using dom.window ... | ||
``` | ||
|
||
<!-- | ||
You can also use the old API in your repro case, as long as you are using | ||
v10 or above | ||
Please create a minimal repro. Any reports involving third party libraries | ||
will be closed, as we cannot debug third-party library interactions for you. | ||
Please do not use syntax that is not supported in Node.js, such as JSX or | ||
`import` statements. If we cannot run the code in Node.js, we will close the | ||
issue, as we cannot debug whatever toolchain you are using. | ||
--> | ||
|
||
### How does similar code behave in browsers? | ||
|
||
(Link to a jsbin or similar suggested.) |