Answer the question
In order to leave comments, you need to log in
Why doesn't jest test pass in nuxt.js?
Hello.
Started learning component testing in nuxt.js project (jest, @vue/test-utils, wallaby.js).
So I’m sure that the question will be simple for knowledgeable people, I’ll say right away that I was looking for the answer in Google, but it didn’t help me, but only confused me more.
I ran into this problem:
.toContain('<nav class="app-navigation">\n\t<ul class="app-navigation__list"></ul>\n</nav>')
unsuccessfully... <nav class="app-navigation"></nav>
.toContain('<nav class="app-navigation"></nav>')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question