October 2018
Intermediate to advanced
590 pages
15h 5m
English
It's TDD time. Let's write more tests into RegisterPage.spec.js. The tests we need to create include the following:
Including the previous test, which is used to verify the form's rendering, we will have four tests in this specification. It's time to do some refactoring to the test specification itself. As mentioned earlier, we will also use vue-test-utils, the official unit testing utility library for Vue.js. Let's use the following command to install the library before we start the refactoring:
npm install @vue/test-utils --save-dev
Once that is done, ...
Read now
Unlock full access