Skip to content

Commit 3d2ac4e

Browse files
Copilotweareoutman
andcommitted
Remove useless resetDocId test and function
Co-authored-by: weareoutman <2338946+weareoutman@users.noreply.github.com>
1 parent 264a969 commit 3d2ac4e

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

docusaurus-search-local/src/server/utils/scanDocuments.determinism.spec.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

docusaurus-search-local/src/server/utils/scanDocuments.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ const getNextDocId = () => {
1616
return (nextDocId += 1);
1717
};
1818

19-
// Export for testing
20-
export const resetDocId = () => {
21-
nextDocId = 0;
22-
};
23-
2419
export async function scanDocuments(
2520
DocInfoWithFilePathList: DocInfoWithFilePath[],
2621
config: ProcessedPluginOptions

0 commit comments

Comments
 (0)