[Vuejs]-Vue-test-utils not updating component after click

0👍

The error was with the toggleMiniBasket method:

this.miniBasketDetailShow != this.miniBasketDetailShow;

should be

this.miniBasketDetailShow = !this.miniBasketDetailShow;

Leave a comment