Advertisement
Guest User

Untitled

a guest
Jul 20th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. NATHAN-J-MALLISONs-MacBook-Pro:ctms-frontend natemallison$ yarn test:unit
  2. yarn run v1.7.0
  3. $ vue-cli-service test:unit
  4. FAIL tests/unit/ResetPassword.spec.js
  5. ● Console
  6.  
  7. console.error node_modules/vuex/dist/vuex.common.js:916
  8. [vuex] module namespace not found in mapActions(): auth/
  9.  
  10. ● ResetPassword.vue › Can reset a password successfully
  11.  
  12. TypeError: Cannot read property 'then' of undefined
  13.  
  14. 76 | t.resetStatus = "default";
  15. 77 | t.validationErrors = {};
  16. > 78 | t.resetPassword(t.data)
  17. | ^
  18. 79 | .then(() => {
  19. 80 | t.$router.push({ name: "login" });
  20. 81 | })
  21.  
  22. at VueComponent.updatePassword (src/views/ResetPassword.vue:78:1)
  23. at Object.<anonymous> (tests/unit/ResetPassword.spec.js:62:16)
  24.  
  25. PASS tests/unit/ListTable.spec.js
  26. PASS tests/unit/Login.spec.js
  27. PASS tests/unit/ForgotPassword.spec.js
  28.  
  29. Test Suites: 1 failed, 3 passed, 4 total
  30. Tests: 1 failed, 4 skipped, 16 passed, 21 total
  31. Snapshots: 0 total
  32. Time: 5.721s
  33. Ran all test suites.
  34. ERROR jest exited with code 1.
  35. error Command failed with exit code 1.
  36. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement