adventofcode/_templates/day/new/test.ejs

21 lines
475 B
Plaintext
Raw Normal View History

2022-12-08 15:15:42 +00:00
---
to: 2022/<%= day %>/test.js
---
2022-12-02 16:05:04 +00:00
import { test, expect, describe } from "vitest";
import { expectSolution } from "../01/main.js";
2022-12-08 15:15:42 +00:00
import part1, { sample, puzzleInput } from "./part1.js";
import part2 from "./part2.js";
2022-12-02 16:05:04 +00:00
describe("part 1", () => {
test.todo("solution", () => {
2022-12-08 15:15:42 +00:00
expectSolution(part1(puzzleInput)).toEqual("TODO");
2022-12-02 16:05:04 +00:00
});
});
describe("part 2", () => {
test.todo("solution", () => {
2022-12-08 15:15:42 +00:00
expectSolution(part2(puzzleInput)).toEqual("TODO");
2022-12-02 16:05:04 +00:00
});
});