vue-test-utils

v1.0.0-beta.5
Utilities for testing Vue components.

build

node build/build.js

docs

cd docs && gitbook install && gitbook serve

docs:deploy

build/update-docs.sh

flow

flow check

lint

eslint --ext js,vue src test flow build --ignore-path .gitignore

lint:docs

eslint --ext js,vue,md docs --ignore-path .gitignore

lint:fix

npm run lint -- --fix

setup

node build/install-hooks.js

test

npm run lint && npm run lint:docs && npm run flow && npm run test:types && npm run test:unit && npm run test:unit:karma

test:compatibility

test/test.sh

test:unit

mocha-webpack --webpack-config build/webpack.test.config.js test/unit/specs --recursive --require test/unit/setup/mocha.setup.js

test:unit:karma

cross-env BABEL_ENV=test TARGET=browser karma start test/unit/setup/karma.conf.js --single-run

test:types

tsc -p types

release

bash build/release.sh

release:note

node build/gen-release-note.js

Metadata

  • MIT
  • Whatever
  • vuejs
  • released 11/13/2017

Downloads