You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+6-4
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ Hi! I’m really excited that you are interested in contributing to Vue Test Uti
25
25
- Make sure `npm test` passes. (see [development setup](#development-setup))
26
26
27
27
- If adding new feature:
28
+
28
29
- Add accompanying test case.
29
30
- Provide convincing reason to add this feature. Ideally you should open a suggestion issue first and have it greenlighted before working on it.
30
31
@@ -37,11 +38,11 @@ Hi! I’m really excited that you are interested in contributing to Vue Test Uti
37
38
38
39
You will need [Node.js](http://nodejs.org)**version 6+**
39
40
40
-
Vue Test Utils is a monorepo. It contains a root package.json for running scripts across the project. The code is inside separate packages in the `packages` directory. The project uses [lerna](https://lernajs.io/) to manage the workspaces.
41
+
Vue Test Utils is a monorepo. It contains a root package.json for running scripts across the project. The code is inside separate packages in the `packages` directory. The project uses [lerna](https://lerna.js.org/) to manage the workspaces.
41
42
42
43
After cloning the repo, run:
43
44
44
-
```bash
45
+
```bash
45
46
$ yarn
46
47
```
47
48
@@ -50,9 +51,10 @@ Or with npm:
50
51
```bash
51
52
npm i && npm run bootstrap
52
53
```
54
+
53
55
### Commonly used NPM scripts
54
56
55
-
```bash
57
+
```bash
56
58
# run unit tests with mocha-webpack
57
59
$ npm run test:unit
58
60
@@ -90,4 +92,4 @@ The default test script will do the following: lint with ESLint -> type check wi
90
92
91
93
-**`types`**: contains TypeScript type definitions
* handle errors in destroy ([#1106](https://github.com/vuejs/vue-test-utils/issues/1106)) ([efab983](https://github.com/vuejs/vue-test-utils/commit/efab983))
13
+
* handle options applied by mixins ([#1101](https://github.com/vuejs/vue-test-utils/issues/1101)) ([d2f26e8](https://github.com/vuejs/vue-test-utils/commit/d2f26e8))
14
+
* use Vue async option for sync mode ([#1062](https://github.com/vuejs/vue-test-utils/issues/1062)) ([4c65dbd](https://github.com/vuejs/vue-test-utils/commit/4c65dbd))
Refer to the [documentation](https://vue-test-utils.vuejs.org/)
28
29
29
-
## Examples
30
-
31
-
-[example with Jest](https://github.com/vuejs/vue-test-utils-jest-example)
32
-
-[example with Mocha](https://github.com/vuejs/vue-test-utils-mocha-webpack-example)
33
-
-[example with tape](https://github.com/eddyerburgh/vue-test-utils-tape-example)
34
-
-[example with AVA](https://github.com/eddyerburgh/vue-test-utils-ava-example)
35
-
36
30
## Questions
37
31
38
32
For questions and support please use the [Discord chat room](https://vue-land.js.org/) or [the official forum](http://forum.vuejs.org). The issue list of this repo is **exclusively** for bug reports and feature requests.
0 commit comments