Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Nov 1, 2023
1 parent f838b83 commit 9ec19ed
Show file tree
Hide file tree
Showing 9 changed files with 75 additions and 322 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/02-issue-nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Bug report (Node.js)'
description: I experience unexpected behavior using the library in Node.js (Jest/React Native/Express/etc.).
description: I experience unexpected behavior using the library in Node.js (Vitest/React Native/Express/etc.).
labels: ['bug', 'scope:node', 'needs:triage']
body:
- type: markdown
Expand Down
5 changes: 1 addition & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Hey! Thank you for deciding to contribute to Mock Service Worker! This page will
Getting yourself familiar with the tools below will substantially ease your contribution experience.

- [TypeScript](https://www.typescriptlang.org/)
- [Jest](https://jestjs.io/)
- [Vitest](https://vitest.dev/)
- [Playwright](https://playwright.dev/)

## Dependencies
Expand Down Expand Up @@ -74,8 +74,6 @@ Build the library with the following command:
$ pnpm build
```

[jest-url]: https://jestjs.io

## Tests

### Testing levels
Expand Down Expand Up @@ -269,6 +267,5 @@ $ pnpm build
```

[pnpm-url]: https://pnpm.io/
[jest-url]: https://jestjs.io
[page-with-url]: https://github.com/kettanaito/page-with
[pnpm-install-guide-url]: https://pnpm.io/7.x/installation#installing-a-specific-version
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ There's no such thing as Service Workers in Node.js. Instead, MSW implements a [

### Usage example

Take a look at the example of an integration test in Jest that uses [React Testing Library](https://github.com/testing-library/react-testing-library) and Mock Service Worker:
Take a look at the example of an integration test in Vitest that uses [React Testing Library](https://github.com/testing-library/react-testing-library) and Mock Service Worker:

```js
// test/Dashboard.test.js
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@
"@ossjs/release": "^0.8.0",
"@playwright/test": "^1.30.0",
"@swc/core": "^1.3.35",
"@swc/jest": "^0.2.24",
"@types/express": "^4.17.17",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^8.1.0",
Expand All @@ -168,7 +167,7 @@
"fs-extra": "^10.0.0",
"fs-teardown": "^0.3.0",
"glob": "^9.3.4",
"jest-environment-jsdom": "^29.4.3",
"jsdom": "^22.1.0",
"json-bigint": "^1.0.0",
"lint-staged": "^13.0.3",
"page-with": "^0.6.1",
Expand Down
Loading

0 comments on commit 9ec19ed

Please sign in to comment.