Vitest is stuck in a loop when using browser mode and calling location.reload()
in afterAll
callback
#6439
Labels
p2-edge-case
Bug, but has workaround or limited in scope (priority)
location.reload()
in afterAll
callback
#6439
Describe the bug
As the title describes, i'm using Vitest in browser mode and i'm calling
location.reload()
inafterAll
callback:The reason of calling
location.reload()
is to ensure that after all tests in the file ran, the next tests will execute in a clean environment as if we just loaded the pageReproduction
Can't seem to get StackBlitz work with Vitest in browser mode
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: