mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
13 lines
373 B
TypeScript
13 lines
373 B
TypeScript
import { expect, test } from "bun:test";
|
|
import "harness";
|
|
import { isArm64, isMusl } from "harness";
|
|
|
|
// https://github.com/oven-sh/bun/issues/12070
|
|
test.skipIf(
|
|
// swc, which bun-repl uses, published a glibc build for arm64 musl
|
|
// and so it crashes on process.exit.
|
|
isMusl && isArm64,
|
|
)("bun repl", () => {
|
|
expect(["repl", "-e", "process.exit(0)"]).toRun();
|
|
});
|