Skip to content

InfiniteXyy/vitest-hang-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vitest-dev/vitest#3077 (comment)

docker build . -t vitest
docker run -it -v ./src:/app/src vitest /bin/bash

Play with configs, my findings:

  1. It is more likely to hang when test cases failed. (not sure, you can try comment & uncomment data-testid="message" in Message.tsx)
  2. Node 18/19 will hang, while it seems that there are no issues with version 20+.
  3. Setting globals: true and using the global vitest function increases the possibility of hanging.
  4. The higher count of tests, the higher the chance of hanging.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published