This repo showcases my 2022 adventJS solutions made with Javascript + Jest
- Clone the repository
git clone https://github.com/noel-lopez/adventjs2022
- Install dependencies
cd <project_name>
npm install
- Run all tests
npm run test
- Run a single test (e.g. for day 22 challenge):
npm run test22
This also stays listening for changes in the challenge folder and reruns the tests when saving a file with changes. I use it for testing while programming.
✓ Day 1 ⭐ Score: 121
✓ Day 2 ⭐ Score: 121
✓ Day 3 ⭐ Score: 132
✓ Day 4 ⭐ Score: 140
✓ Day 5 ⭐ Score: 121
✗ Day 6
✗ Day 7
✗ Day 8
✗ Day 9
✗ Day 10
✗ Day 11
✗ Day 12
✗ Day 13
✗ Day 14
✗ Day 15
✗ Day 16
✗ Day 17
✗ Day 18
✗ Day 19
✗ Day 20
✗ Day 21
✗ Day 22
✗ Day 23
✗ Day 24