Skip to content

Commit 5d987e2

Browse files
committed
docs: add examples projects to test runner guide
1 parent 0647b04 commit 5d987e2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/en/guides/choosing-a-test-runner.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Jest is the most fully featured test runner. It requires the leat configuration,
2222

2323
tape is very minimal. If you choose tape, you will need to do a lot of set up yourself.
2424

25+
To run SFCs in Jest, you need to use jest-vue—a transformer for Jest. jest-vue does not support styles or custom blocks. If you need to use those features, you'll need to use webpack. Mocha works well with webpack, you can read the guide on [testing SFCs with mocha](testing-SFCs-with-mocha-webpack.md) to get started.
26+
2527
## Getting started
2628

2729
You can use our guides to get started with a test runner:
@@ -31,4 +33,8 @@ You can use our guides to get started with a test runner:
3133

3234
## Resources
3335

34-
- [Test runner performance comparison](https://github.com/eddyerburgh/vue-unit-test-perf-comparison)
36+
- [Test runner performance comparison](https://github.com/eddyerburgh/vue-unit-test-perf-comparison)
37+
- [Example project with Jest](https://github.com/eddyerburgh/vue-test-utils-jest-example)
38+
- [Example project with Mocha](https://github.com/eddyerburgh/vue-test-utils-mocha-example)
39+
- [Example project with tape](https://github.com/eddyerburgh/vue-test-utils-tape-example)
40+
- [Example project with AVA](https://github.com/eddyerburgh/vue-test-utils-ava-example)

0 commit comments

Comments
 (0)