qmd/test
Tobi Lutke 648779a04d
fix(test): reset currentIndexName between test files
collections-config.test.ts set currentIndexName to "myindex" in its
last test but only restored env vars in afterEach — not the module
variable. Under bun test (single process), this leaked into mcp.test.ts,
causing it to look for myindex.yml instead of index.yml.

Fix: reset setConfigIndexName("index") in afterEach, and add defensive
reset in mcp.test.ts beforeAll.
2026-02-18 15:53:58 -04:00
..
eval-docs Add 6 synthetic evaluation documents 2025-12-21 13:10:35 -04:00
cli.test.ts fix: correct test paths after moving to test/ directory 2026-02-15 21:46:45 -04:00
collections-config.test.ts fix(test): reset currentIndexName between test files 2026-02-18 15:53:58 -04:00
eval-bm25.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
eval-harness.ts Fix qmd embed crash and resolve all TypeScript errors 2025-12-31 13:32:30 -04:00
eval.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
formatter.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
llm.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
mcp.test.ts fix(test): reset currentIndexName between test files 2026-02-18 15:53:58 -04:00
multi-collection-filter.test.ts fix: support multiple -c collection filters in search commands 2026-02-16 14:03:53 -04:00
store-paths.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
store.helpers.unit.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00
store.test.ts test: move all tests to flat test/ directory 2026-02-15 21:37:47 -04:00