add template for a new day

main
Yanick Champoux 2022-12-02 11:05:04 -05:00
parent 8703a2c454
commit 672902f184
3 changed files with 23 additions and 0 deletions

1
2022/template/part1.js Normal file
View File

@ -0,0 +1 @@
import * as R from "remeda";

2
2022/template/part2.js Normal file
View File

@ -0,0 +1,2 @@
import * as R from "remeda";

20
2022/template/test.js Normal file
View File

@ -0,0 +1,20 @@
import { test, expect, describe } from "vitest";
import { expectSolution } from "../01/main.js";
import {
solutionPart1,
puzzleInput,
} from "./part1.js";
import { solutionPart2 } from "./part2.js";
describe("part 1", () => {
test.todo("solution", () => {
expectSolution(solutionPart1(puzzleInput)).toEqual('TODO');
});
});
describe("part 2", () => {
test.todo("solution", () => {
expectSolution(solutionPart2(puzzleInput)).toEqual('TODO');
});
});