aboutsummaryrefslogtreecommitdiff
path: root/packages/bun-vscode/example/example.test.ts
diff options
context:
space:
mode:
authorGravatar Ashcon Partovi <ashcon@partovi.net> 2023-08-26 02:34:25 -0700
committerGravatar GitHub <noreply@github.com> 2023-08-26 02:34:25 -0700
commit2a9e967fd1c766a718808d5a7fa779d74d44e62c (patch)
tree3bf4c059c03b9b561bc565ecf7cf21eaceae5353 /packages/bun-vscode/example/example.test.ts
parent910daeff27ead119e15f35f6c1e0aa09d2aa7562 (diff)
downloadbun-2a9e967fd1c766a718808d5a7fa779d74d44e62c.tar.gz
bun-2a9e967fd1c766a718808d5a7fa779d74d44e62c.tar.zst
bun-2a9e967fd1c766a718808d5a7fa779d74d44e62c.zip
More improvements to debugger support (#4345)
* More fixes for dap * More changes * More changes 2 * More fixes * Fix debugger.ts * Bun Terminal
Diffstat (limited to 'packages/bun-vscode/example/example.test.ts')
-rw-r--r--packages/bun-vscode/example/example.test.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/bun-vscode/example/example.test.ts b/packages/bun-vscode/example/example.test.ts
new file mode 100644
index 000000000..a9da929eb
--- /dev/null
+++ b/packages/bun-vscode/example/example.test.ts
@@ -0,0 +1,11 @@
+import { describe, test, expect } from "bun:test";
+
+describe("example", () => {
+ test("it works", () => {
+ expect(1).toBe(1);
+ expect(1).not.toBe(2);
+ expect(() => {
+ throw new Error("error");
+ }).toThrow();
+ });
+});