File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 11/**
22 * Service plugin that allows running unit tests with `ava`.
3- * It injects the command `test:unit` which launches a `webpack` build on files , then
4- * runs `ava` against the generated files. The generated files are saved in the `dist_tests` directory
5- * in the project following the same directory structure of the original ones,
6- * also a custom `webpack` plugin to rewrite source maps is added to adjust
7- * the `sources` field to have the test file as the first element to allow `ava`
8- * to properly compute the destination path to save snaphots.
9- *
10- * The plugin will look for files with extension:
11- * * `*.spec.ts` if the project is using typescript
12- * * `*.spec.js` otherwise
13- * recursively in the `tests/unit` folder, if no files, directories or glob expressions are passed from the command line.
143 * @module vue-cli-plugin-unit-ava
154 * @see {@link https://cli.vuejs.org/dev-guide/plugin-dev.html#service-plugin }
165 */
You can’t perform that action at this time.
0 commit comments