Skip to content

Commit

Permalink
feat: small change
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePrimeagen committed Aug 4, 2022
1 parent b83a3f3 commit b1ec6b1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"clearMocks": true,
"moduleNameMapper": {
"@code/(.*)": [
"<rootDir>/src/day5/$1"
"<rootDir>/src/day6/$1"
]
},
"preset": "ts-jest"
Expand Down
21 changes: 1 addition & 20 deletions ligma.config.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,6 @@
module.exports = {
dsa: [
"LinearSearchList",
"BinarySearchList",
"TwoCrystalBalls",
"BubbleSort",
"DoublyLinkedList",
"Queue",
"Stack",
"ArrayList",
"MazeSolver",
"QuickSort",
"BTPreOrder",
"BTInOrder",
"BTPostOrder",
"BTBFS",
"CompareBinaryTrees",
"DFSOnBST",
"DFSGraphList",
"Trie",
"BFSGraphMatrix",
"Map",
"MinHeap",
],
}

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"typescript": "^4.7.4"
},
"scripts": {
"test": "jest LinearSearchList BinarySearchList TwoCrystalBalls BubbleSort DoublyLinkedList Queue Stack ArrayList MazeSolver QuickSort BTPreOrder BTInOrder BTPostOrder BTBFS CompareBinaryTrees DFSOnBST DFSGraphList Trie BFSGraphMatrix Map",
"test": "jest MinHeap",
"clear": "./scripts/clear",
"prettier": "prettier --write ./src",
"generate": "./scripts/generate",
"day": "echo /home/mpaulson/personal/kata/src/day5"
"day": "echo /home/mpaulson/personal/kata/src/day6"
}
}
2 changes: 1 addition & 1 deletion src/__tests__/MinHeap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test("min heap", function () {
expect(heap.delete()).toEqual(8);
expect(heap.delete()).toEqual(69);
expect(heap.delete()).toEqual(420);
expect(heap.length).toEqual(8);
expect(heap.length).toEqual(0);
});


2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"baseUrl": "src",
"paths": {
"@code/*": [
"day5/*"
"day6/*"
]
}
},
Expand Down

0 comments on commit b1ec6b1

Please sign in to comment.