-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce a unit test framework #15
Comments
Am I going to introduce mochapack? |
kikuomax
added a commit
that referenced
this issue
Jan 23, 2020
- Common configurations are moved from `webpack.config.js` to `webpack.common.js`. The following properties are moved, - `module` - `resolve` issue #15
kikuomax
added a commit
that referenced
this issue
Jan 23, 2020
- The following modules and some dependencies are introduced for unit tests. - `mocha` - `chai` - `mochapack` - A webpack configuration for test `webpack.config-test.js` is introduced. - A configuration for ESLint is specialized for test. `eslint-plugin-mocha` is introduced to support Mocha globals. - `npm test` runs `mochapack` to run unit tests. - `test/setup.js` introduces `chai.expect` in the global scope. To avoid an ESLint error, you have to declare `global expect` at the beginning of every test script. - `test/components/mixins/symbol-user.spec.js` defines the first test that should fails. issue #15
kikuomax
added a commit
that referenced
this issue
Jan 23, 2020
- Unit tests of `components/mixins/symbol-user` are described. - The following new packages are introduced. - `sinon` and `sinon-chai` - Vue Test Utils issue #15
kikuomax
added a commit
that referenced
this issue
Jan 23, 2020
- Steps to run unit tests are described in README. issue #15
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: