Jest: https://jestjs.io/docs/getting-startedarrow-up-right
Vue Test Utils: https://vue-test-utils.vuejs.orgarrow-up-right
a typical test file includes
wrapper
shallowmount/mount
describe('some condition here',()=>{});
BeforeEach
it('then what will happen',()=>{
//arrange
//act
/assert
});
Last updated 4 years ago