|
| 1 | +name: 'Bug report (Node.js)' |
| 2 | +description: I experience unexpected behavior using the library in Node.js (Jest/React Native/Express/etc.). |
| 3 | +labels: ['bug', 'scope:node', 'needs:triage'] |
| 4 | +body: |
| 5 | + - type: markdown |
| 6 | + attributes: |
| 7 | + value: Thank you for reporting an issue to Mock Service Worker! Please fill in the template below to help our team tackle it in the most efficient way. |
| 8 | + |
| 9 | + - type: checkboxes |
| 10 | + attributes: |
| 11 | + label: Prerequisites |
| 12 | + description: Before we begin, let's make sure your issue hasn't been solved already. |
| 13 | + options: |
| 14 | + - label: I confirm my issue is not in the [opened issues](https://github.com/mswjs/msw/issues) |
| 15 | + required: true |
| 16 | + - label: I confirm the [Frequently Asked Questions](https://mswjs.io/docs/faq) didn't contain the answer to my issue |
| 17 | + required: true |
| 18 | + |
| 19 | + - type: checkboxes |
| 20 | + attributes: |
| 21 | + label: Environment check |
| 22 | + description: Next, let's make sure you're using the library in the officially supported environments. |
| 23 | + options: |
| 24 | + - label: I'm using the [latest](https://github.com/mswjs/msw/releases/latest) `msw` version |
| 25 | + required: true |
| 26 | + - label: I'm using Node.js version 14 or higher |
| 27 | + required: true |
| 28 | + |
| 29 | + - type: input |
| 30 | + attributes: |
| 31 | + label: Node.js version |
| 32 | + description: Specify which Node.js version you're using (`node -v`). |
| 33 | + placeholder: i.e. v16.14.0 |
| 34 | + validations: |
| 35 | + required: true |
| 36 | + |
| 37 | + - type: input |
| 38 | + attributes: |
| 39 | + label: Reproduction repository |
| 40 | + description: A link to the repository where your issue can be reproduced. You can clone one of [our examples](https://github.com/mswjs/examples/tree/master/examples) or [our CodeSandbox template](https://codesandbox.io/s/msw-react-xx1c8) to create a reproduction repository much faster. Issues without a reproduction repository **will be closed**. |
| 41 | + placeholder: i.e. https://github.com/you/msw-issue |
| 42 | + validations: |
| 43 | + required: true |
| 44 | + |
| 45 | + - type: textarea |
| 46 | + attributes: |
| 47 | + label: Reproduction steps |
| 48 | + description: Include any steps necessary to reproduce the issue in the repository above. |
| 49 | + placeholder: i.e. "npm test" |
| 50 | + validations: |
| 51 | + required: true |
| 52 | + |
| 53 | + - type: textarea |
| 54 | + attributes: |
| 55 | + label: Current behavior |
| 56 | + description: Share any details on what behavior you're experiencing (error messages, logs, context). |
| 57 | + validations: |
| 58 | + required: true |
| 59 | + |
| 60 | + - type: textarea |
| 61 | + attributes: |
| 62 | + label: Expected behavior |
| 63 | + description: What do you expect to happen instead? |
| 64 | + validations: |
| 65 | + required: true |
0 commit comments