summaryrefslogtreecommitdiff
path: root/template/example.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'template/example.test.ts')
-rw-r--r--template/example.test.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/template/example.test.ts b/template/example.test.ts
index f3e80eb..a0522cc 100644
--- a/template/example.test.ts
+++ b/template/example.test.ts
@@ -2,7 +2,7 @@ import { expect, test } from "bun:test";
import { main as part1 } from "./part_1";
import { main as part2 } from "./part_2";
-// const example = ``;
+// const example = ``.split("\n");;
const example = `1 2 3 4 5`.split(" ");
test("part1", async () => {
@@ -11,8 +11,8 @@ test("part1", async () => {
expect(res).toEqual(answer);
});
-test("part2", async () => {
- const answer = 5 + 5;
- const res = await part2(example);
- expect(res).toEqual(answer);
-});
+//test("part2", async () => {
+// const answer = 5 + 5;
+// const res = await part2(example);
+// expect(res).toEqual(answer);
+//});