aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Ashcon Partovi <ashcon@partovi.net> 2023-07-05 13:27:45 -0700
committerGravatar Ashcon Partovi <ashcon@partovi.net> 2023-07-05 13:27:45 -0700
commit968a7cd31497b63363135d16a5a9cd3acbe5e030 (patch)
tree697798206a4d1c274818b45700a605378d730f7a /test
parent1e1fe22be0c0646ef39ebfeb9119b05941b2c8a2 (diff)
downloadbun-detect-libc.tar.gz
bun-detect-libc.tar.zst
bun-detect-libc.zip
Diffstat (limited to 'test')
-rw-r--r--test/js/first_party/detect-libc.test.ts13
1 files changed, 11 insertions, 2 deletions
diff --git a/test/js/first_party/detect-libc.test.ts b/test/js/first_party/detect-libc.test.ts
index 260e0d869..f197fcc77 100644
--- a/test/js/first_party/detect-libc.test.ts
+++ b/test/js/first_party/detect-libc.test.ts
@@ -1,6 +1,15 @@
import { test, expect } from "bun:test";
-// @ts-ignore: @types/detect-libc is not accurate
-import { GLIBC, MUSL, version, versionSync, family, familySync, isNonGlibcLinux, isNonGlibcLinuxSync } from "detect-libc";
+import {
+ GLIBC,
+ MUSL,
+ version,
+ versionSync,
+ family,
+ familySync,
+ isNonGlibcLinux,
+ isNonGlibcLinuxSync,
+ // @ts-ignore: @types/detect-libc is not accurate
+} from "detect-libc";
test("detect-libc", () => {
expect(GLIBC).toBe("glibc");