Files
orca/config/scripts/vitest-node-runtime-boundary.test.ts
T
Neil 3ec38b8c6d Run Vitest on Bun with Node runtime contracts (#25840)
* Run Vitest on Bun while preserving Node runtime contracts

* Preserve runtime timing provenance and keep the Bun pin in config

* Scope builtin compatibility mocks to test-only lint exceptions

* Give capture retention fixtures distinct filesystem timestamps

* Await the copy button success state in the React fixture

* Bound Node test worker shutdown and tighten migration fixtures
2026-10-06 03:18:06 -07:00

8 lines
297 B
TypeScript

import { expect, it } from 'vitest'
it('runs Node runtime contracts in Node even when the coordinator uses Bun', () => {
expect(process.versions.bun).toBeUndefined()
expect(process.release.name).toBe('node')
expect(Number(process.versions.node.split('.')[0])).toBeGreaterThanOrEqual(24)
})