From 888cd821acc7582255320e0ddbddd2495e505cd4 Mon Sep 17 00:00:00 2001 From: Lizzy Hunt Date: Fri, 1 Dec 2023 16:05:44 -0700 Subject: updates and test w/ day 01 2021 --- template/example.test.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'template/example.test.ts') 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); +//}); -- cgit v1.2.3-70-g09d2