We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8bc888 commit e04e9efCopy full SHA for e04e9ef
.github/workflows/ci.yml
@@ -64,3 +64,13 @@ jobs:
64
- run: npm ci
65
- run: deno test test/deno_test.ts
66
67
+ bun:
68
+ runs-on: ubuntu-latest
69
+
70
+ steps:
71
+ - uses: actions/checkout@v4
72
+ - name: Setup Bun
73
+ uses: oven-sh/setup-bun@v2
74
+ - run: bun install
75
+ - run: bun test test/bun.spec.ts
76
test/bun.spec.ts
@@ -0,0 +1,9 @@
1
+import { expect, test } from "bun:test";
2
+import { encode, decode } from "../src/index";
3
4
5
+test("Hello, world!", () => {
6
+ const encoded = encode("Hello, world!");
7
+ const decoded = decode(encoded);
8
+ expect(decoded).toBe("Hello, world!");
9
+});
0 commit comments