Search code examples
vue.jsjestjsnuxt.jsvue-test-utils

unit test runs properly but at the end it returns npm error


I am trying to test a component using @vue-jest in Nuxt. It runs suit and reports me if a test is passed or not but at the end of the report using "npm run test" I have the error:enter image description here


Solution

  • The problem solved, it was because Snapshot Summary and I removed it by "npm test -- -u" command.