Vue Storefront SDK testing

Hello, I have some general SKD questions about integration/unit tests, if someone could help: 1. According to the documentation, the afterEach hook (in integration > jest.setup.ts) clears cookies automatically. However, we found that our logged in user session isn’t terminated unless we add our own corresponding function. The session is based on cookies. Do you have any idea why that might be? 2. What’s the purpose of the error unit tests? No matter what error we place in the parameter, the test will still give success. 3. What’s the purpose of RESPONSE_MOCK in the unit tests? It doesn't seem to influence test conclusion.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server