Forked from https://github.com/ThePrimeagen/kata-machine
bun install
- Edit the
ligma.config.js
file to contain only the katas you want to practice for the current day.
export default {
dsa: [
"InsertionSort",
"MergeSort",
"Queue",
"Stack",
"QuickSort",
"DijkstraList",
"PrimsList",
] as const,
};
- Create a day of katas from the list in
ligma.config.js
.
bun generate
This will progressively create folders named
src/day1
src/day2
...
bun generate
will also update the tsconfig.json
and jest.config
to point
the latest day
folder via tspaths. This allows us to avoid updating anything
for testing each day.
Run all tests for the current day:
bun run test
Run only specific tests for the current day:
bun jest [test-name-partial]