You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { beforeAll } from "bun:test"
export { beforeAll }
preload.ts
import { beforeAll } from "./lib"
beforeAll(() => {})
I want to be able to switch easily between vitest and bun:test so I import describe, test, expect, beforeAll from a lib file instead of directly from bun:test. beforeAll crashes in preload
Relevant log output
No response
Stack Trace (bun.report)
Bun v1.1.5 (#10527) on macos aarch64 [TestCommand]
Segmentation fault at address 0x000000BD
3 unknown/js code
llint_entry
vmEntryToJavaScript
JSC::AbstractModuleRecord::evaluate
1 unknown/js code
llint_entry
2 unknown/js code
The text was updated successfully, but these errors were encountered:
How can we reproduce the crash?
lib.ts
preload.ts
I want to be able to switch easily between vitest and bun:test so I import
describe
,test
,expect
,beforeAll
from a lib file instead of directly from bun:test. beforeAll crashes in preloadRelevant log output
No response
Stack Trace (bun.report)
Bun v1.1.5 (#10527) on macos aarch64 [TestCommand]
Segmentation fault at address 0x000000BD
llint_entry
vmEntryToJavaScript
JSC::AbstractModuleRecord::evaluate
llint_entry
The text was updated successfully, but these errors were encountered: