Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e7d7c54

Browse filesBrowse files
committed
move to vitest
1 parent db961ea commit e7d7c54
Copy full SHA for e7d7c54

File tree

Expand file treeCollapse file tree

254 files changed

+1994
-3548
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

254 files changed

+1994
-3548
lines changed

‎package-lock.json

Copy file name to clipboardExpand all lines: package-lock.json
+1,732-3,529Lines changed: 1732 additions & 3529 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Copy file name to clipboardExpand all lines: package.json
+4-19Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"scripts": {
1010
"start": "node src/index.js",
1111
"serve": "http-server -p 443 -S -o -c-1 -C static/http-cert.pem -K static/http-key.pem",
12-
"test": "f(){ if [ -z \"$CI\" ]; then jest --onlyChanged $*; else jest $*; fi }; NODE_OPTIONS=--experimental-vm-modules f",
13-
"lint": "eslint src && tsc",
12+
"test": "if [ -z \"$CI\" ]; then vitest run --changed $*; else vitest run $*; fi",
13+
"lint": "eslint src",
1414
"prepare": "husky"
1515
},
1616
"dependencies": {
@@ -26,35 +26,20 @@
2626
},
2727
"devDependencies": {
2828
"@playwright/browser-chromium": "^1.47.2",
29-
"@types/jest": "^29.5.13",
3029
"eslint": "^9.11.1",
3130
"eslint-config-prettier": "^9.1.0",
3231
"eslint-plugin-jest": "^28.10.0",
3332
"eslint-plugin-prettier": "^5.2.1",
3433
"http-server": "^14.1.1",
3534
"husky": "^9.1.6",
36-
"jest": "^29.7.0",
3735
"playwright": "^1.49.1",
3836
"prettier": "^3.3.3",
3937
"typescript": "^5.6.2",
40-
"typescript-eslint": "^8.18.1"
41-
},
42-
"jest": {
43-
"testPathIgnorePatterns": [
44-
"<rootDir>/templates"
45-
]
38+
"typescript-eslint": "^8.18.1",
39+
"vitest": "^3.0.5"
4640
},
4741
"prettier": {
4842
"quoteProps": "consistent",
4943
"arrowParens": "avoid"
50-
},
51-
"wallaby": {
52-
"autoDetect": true,
53-
"startAutomatically": true,
54-
"env": {
55-
"params": {
56-
"env": "NODE_OPTIONS=--experimental-vm-modules"
57-
}
58-
}
5944
}
6045
}

‎src/2015/day01.spec.js

Copy file name to clipboardExpand all lines: src/2015/day01.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day01.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day02.spec.js

Copy file name to clipboardExpand all lines: src/2015/day02.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day02.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day03.spec.js

Copy file name to clipboardExpand all lines: src/2015/day03.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day03.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day04.spec.js

Copy file name to clipboardExpand all lines: src/2015/day04.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day04.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day05.spec.js

Copy file name to clipboardExpand all lines: src/2015/day05.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day05.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day06.spec.js

Copy file name to clipboardExpand all lines: src/2015/day06.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day06.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day07.spec.js

Copy file name to clipboardExpand all lines: src/2015/day07.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day07.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day08.spec.js

Copy file name to clipboardExpand all lines: src/2015/day08.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day08.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day09.spec.js

Copy file name to clipboardExpand all lines: src/2015/day09.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day09.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day10.spec.js

Copy file name to clipboardExpand all lines: src/2015/day10.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day10.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day11.spec.js

Copy file name to clipboardExpand all lines: src/2015/day11.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day11.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day12.spec.js

Copy file name to clipboardExpand all lines: src/2015/day12.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day12.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day13.spec.js

Copy file name to clipboardExpand all lines: src/2015/day13.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day13.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day14.spec.js

Copy file name to clipboardExpand all lines: src/2015/day14.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day14.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day15.spec.js

Copy file name to clipboardExpand all lines: src/2015/day15.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { day } from "./day15.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day16.spec.js

Copy file name to clipboardExpand all lines: src/2015/day16.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day16.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day17.spec.js

Copy file name to clipboardExpand all lines: src/2015/day17.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { day } from "./day17.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day18.spec.js

Copy file name to clipboardExpand all lines: src/2015/day18.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day18.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day19.spec.js

Copy file name to clipboardExpand all lines: src/2015/day19.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day19.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day20.spec.js

Copy file name to clipboardExpand all lines: src/2015/day20.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { day } from "./day20.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day21.spec.js

Copy file name to clipboardExpand all lines: src/2015/day21.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day21.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day22.spec.js

Copy file name to clipboardExpand all lines: src/2015/day22.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day22.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day23.spec.js

Copy file name to clipboardExpand all lines: src/2015/day23.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day23.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day24.spec.js

Copy file name to clipboardExpand all lines: src/2015/day24.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day24.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2015/day25.spec.js

Copy file name to clipboardExpand all lines: src/2015/day25.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day25.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day01.spec.js

Copy file name to clipboardExpand all lines: src/2016/day01.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { day } from "./day01.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day02.spec.js

Copy file name to clipboardExpand all lines: src/2016/day02.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day02.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day03.spec.js

Copy file name to clipboardExpand all lines: src/2016/day03.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day03.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day04.spec.js

Copy file name to clipboardExpand all lines: src/2016/day04.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day04.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day05.spec.js

Copy file name to clipboardExpand all lines: src/2016/day05.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { day } from "./day05.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day06.spec.js

Copy file name to clipboardExpand all lines: src/2016/day06.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day06.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day07.spec.js

Copy file name to clipboardExpand all lines: src/2016/day07.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day07.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day08.spec.js

Copy file name to clipboardExpand all lines: src/2016/day08.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day08.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day09.spec.js

Copy file name to clipboardExpand all lines: src/2016/day09.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day09.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day10.spec.js

Copy file name to clipboardExpand all lines: src/2016/day10.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { day } from "./day10.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day11.spec.js

Copy file name to clipboardExpand all lines: src/2016/day11.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day11.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day12.spec.js

Copy file name to clipboardExpand all lines: src/2016/day12.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day12.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day13.spec.js

Copy file name to clipboardExpand all lines: src/2016/day13.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day13.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day14.spec.js

Copy file name to clipboardExpand all lines: src/2016/day14.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day14.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day15.spec.js

Copy file name to clipboardExpand all lines: src/2016/day15.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day15.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day16.spec.js

Copy file name to clipboardExpand all lines: src/2016/day16.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day16.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day17.spec.js

Copy file name to clipboardExpand all lines: src/2016/day17.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day17.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day18.spec.js

Copy file name to clipboardExpand all lines: src/2016/day18.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day18.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day19.spec.js

Copy file name to clipboardExpand all lines: src/2016/day19.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day19.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day20.spec.js

Copy file name to clipboardExpand all lines: src/2016/day20.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day20.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day21.spec.js

Copy file name to clipboardExpand all lines: src/2016/day21.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day21.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day22.spec.js

Copy file name to clipboardExpand all lines: src/2016/day22.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day22.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day23.spec.js

Copy file name to clipboardExpand all lines: src/2016/day23.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day23.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day24.spec.js

Copy file name to clipboardExpand all lines: src/2016/day24.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day24.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2016/day25.spec.js

Copy file name to clipboardExpand all lines: src/2016/day25.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day25.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2017/day01.spec.js

Copy file name to clipboardExpand all lines: src/2017/day01.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { describe, test, expect } from "vitest";
12
import readInput from "../utils/read-input.js";
23
import { part1, part2 } from "./day01.js";
34

‎src/2017/day02.spec.js

Copy file name to clipboardExpand all lines: src/2017/day02.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day02.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2017/day03.spec.js

Copy file name to clipboardExpand all lines: src/2017/day03.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day03.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2017/day04.spec.js

Copy file name to clipboardExpand all lines: src/2017/day04.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day04.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2017/day05.spec.js

Copy file name to clipboardExpand all lines: src/2017/day05.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day05.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2017/day06.spec.js

Copy file name to clipboardExpand all lines: src/2017/day06.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { day } from "./day06.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2017/day07.spec.js

Copy file name to clipboardExpand all lines: src/2017/day07.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day07.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

‎src/2017/day08.spec.js

Copy file name to clipboardExpand all lines: src/2017/day08.spec.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { part1, part2 } from "./day08.js";
2+
import { describe, test, expect } from "vitest";
23
import readInput from "../utils/read-input.js";
34

45
let input = readInput(import.meta.url);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.