Skip to content

Commit

Permalink
Add an issue template
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Apr 25, 2017
1 parent aea99cd commit b2bfc3d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE.md
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.)

0 comments on commit b2bfc3d

Please sign in to comment.