https://github.com/brandonroberts/vitest-node22-segfault
Reproduction of segfault w/Vitest and node >=22
https://github.com/brandonroberts/vitest-node22-segfault
Last synced: 3 months ago
JSON representation
Reproduction of segfault w/Vitest and node >=22
- Host: GitHub
- URL: https://github.com/brandonroberts/vitest-node22-segfault
- Owner: brandonroberts
- Created: 2025-01-03T22:42:47.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-03T22:42:51.000Z (5 months ago)
- Last Synced: 2025-03-02T09:54:04.377Z (3 months ago)
- Language: TypeScript
- Size: 218 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vitest Segfault w/node >= 22
This reproduces a segfault with nodejs >= 22 and Vitest
## Setup
npm install
## Run Tests
npm run test
## Notes
- If the `pool` is `vmThreads` and `alias` is set, the segault is thrown.
- If the `alias` is commented out and `pool` is `vmThreads`, no segfault is thrown.
- If the `pool` is not `vmThreads` and `alias` is set, no segault is thrown.
- No segfault is thrown at all with node 20.