diff --git a/__tests__/sort/InsertionSort.spec.ts b/__tests__/sort/InsertionSort.spec.ts index 2d7d147..e047b54 100644 --- a/__tests__/sort/InsertionSort.spec.ts +++ b/__tests__/sort/InsertionSort.spec.ts @@ -44,7 +44,7 @@ import { insertionSort, Tree, treeCreate, -} from '@/index' +} from '@/' type TreeNode = Tree & { key: number diff --git a/__tests__/sort/MergeSort.spec.ts b/__tests__/sort/MergeSort.spec.ts index 2721967..1ce6875 100644 --- a/__tests__/sort/MergeSort.spec.ts +++ b/__tests__/sort/MergeSort.spec.ts @@ -42,7 +42,7 @@ import { numericCompare, numericKeyCompare, mergeSort, -} from '@/index' +} from '@/' describe('MergeSort', () => { it('string', () => { diff --git a/__tests__/sort/SelectionSort.spec.ts b/__tests__/sort/SelectionSort.spec.ts index 83abd12..4b9139e 100644 --- a/__tests__/sort/SelectionSort.spec.ts +++ b/__tests__/sort/SelectionSort.spec.ts @@ -42,7 +42,7 @@ import { numericCompare, numericKeyCompare, selectionSort, -} from '@/index' +} from '@/' describe('SelectionSort', () => { it('string', () => { diff --git a/__tests__/structures/Heap.spec.ts b/__tests__/structures/Heap.spec.ts index 3e36230..2e55413 100644 --- a/__tests__/structures/Heap.spec.ts +++ b/__tests__/structures/Heap.spec.ts @@ -40,7 +40,7 @@ import { heapSort, buildMaxHeap, // buildMinHeap, -} from '@/index' +} from '@/' describe('Heap', () => { it('buildMaxHeap', () => { diff --git a/__tests__/structures/List.spec.ts b/__tests__/structures/List.spec.ts index bdbc310..3c51ba0 100644 --- a/__tests__/structures/List.spec.ts +++ b/__tests__/structures/List.spec.ts @@ -64,7 +64,7 @@ import { listIsLast, listHas, listQuery, -} from '@/index' +} from '@/' type ListNode = Listable & { key: number diff --git a/__tests__/structures/Stack.spec.ts b/__tests__/structures/Stack.spec.ts index d5308da..c3d8b1a 100644 --- a/__tests__/structures/Stack.spec.ts +++ b/__tests__/structures/Stack.spec.ts @@ -59,7 +59,7 @@ import { stackIsTop, stackHas, stackQuery, -} from '@/index' +} from '@/' type StackNode = Stackable & { key: number diff --git a/__tests__/structures/Tree.spec.ts b/__tests__/structures/Tree.spec.ts index 5275b29..700d32c 100644 --- a/__tests__/structures/Tree.spec.ts +++ b/__tests__/structures/Tree.spec.ts @@ -57,7 +57,7 @@ import { treeQuery, treeInsertChildBefore, treeInsertChildAfter, -} from '@/index' +} from '@/' type A = Tree & { key: number