@fromage/cli-plugin-unit-mocha
@fromage/cli-plugin-unit-mocha
unit-mocha plugin for vue-cli
Injected Commands
-
vue-cli-service test:unitRun unit tests with mocha-webpack + chai.
Note the tests are run inside Node.js with browser environment simulated with JSDOM.
Usage: vue-cli-service test:unit [options] [...files] Options: --watch, -w run in watch mode --grep, -g only run tests matching <pattern> --slow, -s "slow" test threshold in milliseconds --timeout, -t timeout threshold in milliseconds --bail, -b bail after first test failure --require, -r require the given module before running tests --include include the given module into test bundle --inspect-brk Enable inspector to debug the testsDefault files matches are: any files in
tests/unitthat end in.spec.(ts|js).All mocha-webpack command line options are also supported.
Installing in an Already Created Project
vue add @fromage/unit-mocha
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 5.0.79 | MIT | |
| 5.0.75 | MIT | |
| 5.0.74 | MIT | |
| 5.0.70 | MIT | |
| 5.0.69 | MIT | |
| 5.0.65 | MIT | |
| 5.0.64 | MIT | |
| 5.0.62 | MIT | |
| 5.0.56 | MIT | |
| 5.0.48 | MIT | |
| 5.0.47 | MIT | |
| 5.0.46 | MIT | |
| 5.0.45 | MIT | |
| 5.0.44 | MIT | |
| 5.0.43 | MIT | |
| 5.0.42 | MIT | |
| 5.0.41 | MIT | |
| 5.0.40 | MIT | |
| 5.0.39 | MIT | |
| 5.0.37 | MIT | |
| 5.0.35 | MIT | |
| 5.0.34 | MIT | |
| 5.0.32 | MIT | |
| 5.0.31 | MIT | |
| 5.0.30 | MIT | |
| 5.0.29 | MIT | |
| 5.0.24 | MIT | |
| 5.0.23 | MIT | |
| 5.0.22 | MIT | |
| 5.0.21 | MIT |
Showing the latest 30 of 45. See every release on npm