mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
10 lines
226 B
TypeScript
10 lines
226 B
TypeScript
import { test } from "vitest";
|
|
|
|
test("calls IPC channel", () => {
|
|
if (!process.send) {
|
|
throw new Error("Expected test case to run inside child_process")
|
|
}
|
|
|
|
process.send({ "not serialized": "with v8 serializer" })
|
|
})
|