Skip to content

Commit 3664f7b

Browse files
committed
chore: do not run example test by default
1 parent 0b3b356 commit 3664f7b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

examples/TodoApp.spec.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* This is the example app used in the documentation.
3+
* If you want to run it, you will need to build the final bundle with
4+
* yarn build. Then you can run this with `yarn test examples`
5+
*/
16
import { mount } from '../dist/vue-test-utils.cjs.js'
27

38
import TodoApp from './TodoApp.vue'

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"email": "[email protected]"
4343
},
4444
"scripts": {
45-
"test": "yarn jest --runInBand",
45+
"test": "yarn jest --runInBand tests",
4646
"build": "yarn rollup -c rollup.config.js",
4747
"lint": "prettier -c --parser typescript \"(src|tests)/**/*.ts?(x)\"",
4848
"lint:fix": "yarn lint --write"

0 commit comments

Comments
 (0)