vitest 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.gh.md +7 -4
  2. package/package.json +3 -3
package/README.gh.md CHANGED
@@ -11,16 +11,19 @@ A blazing fast unit test framework powered by Vite.
11
11
 
12
12
  > Vitest requires Vite v2.7.0 or above
13
13
 
14
+ [**Join the Discord!**](https://discord.com/invite/2zYZNngd7y)
15
+
14
16
  ## Features
15
17
 
16
18
  - [Vite](https://vitejs.dev/)'s config, transformers, resolvers, and plugins.
17
19
  - [Jest Snapshot](https://jestjs.io/docs/snapshot-testing)
18
- - [Chai](https://www.chaijs.com/) for assertions
19
- - [Sinon](https://sinonjs.org/) for mocking
20
- - [JSDOM](https://github.com/jsdom/jsdom) for DOM mocking
20
+ - [Chai](https://www.chaijs.com/) built-in for assertions, with [jest-expect](https://jestjs.io/docs/expect) compatible APIs.
21
+ - [Sinon](https://sinonjs.org/) built-in for mocking
22
+ - [JSDOM](https://github.com/jsdom/jsdom) built-in built-in for DOM mocking
23
+ - Components testing ([Vue example](./test/vue), [React example](./test/react))
21
24
  - Async suite / test, top level await
22
25
  - ESM friendly
23
- - Out-of-box TypeScript support
26
+ - Out-of-box TypeScript / JSX support
24
27
  - Suite and Test filtering (skip, only, todo)
25
28
  - [Test coverage](#coverage)
26
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitest",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "A blazing fast unit test framework powered by Vite",
5
5
  "keywords": [
6
6
  "vite",
@@ -73,7 +73,7 @@
73
73
  "source-map": "^0.7.3"
74
74
  },
75
75
  "peerDependencies": {
76
- "vite": "^2.7.0"
76
+ "vite": "^2.7.1"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@antfu/eslint-config": "^0.12.2",
@@ -91,6 +91,6 @@
91
91
  "npm-run-all": "^4.1.5",
92
92
  "rimraf": "^3.0.2",
93
93
  "typescript": "^4.5.2",
94
- "vite": "^2.7.0"
94
+ "vite": "^2.7.1"
95
95
  }
96
96
  }