Skip to content

carseven/adventJS

Repository files navigation

adventJS

Repo for solving https://adventjs.dev challenges with typescript and Jest

Install

npm install

Run all test

npm run test

Run specific test

Install globally

npm i -g jest-cli

# Launch year test
jest 2022

# Launch specific file test
jest 2022/day1.test.ts

Use npx command

# Launch year test
npx jest 2022

# Launch specific file test
npx jest 2022/day1.test.ts