nomic-ai / ts-nomic

Typescript bindings for Atlas
MIT License
5 stars 4 forks source link

move testing to vitest #83

Closed bmschmidt closed 4 weeks ago

bmschmidt commented 1 month ago

Still failing a test on wait_for_project_lock.


[!IMPORTANT] Migrate testing framework from uvu to vitest, updating test scripts, dependencies, and test files accordingly.

  • Testing Framework Migration:
    • Replace uvu with vitest in package.json test scripts.
    • Remove uvu and related dependencies; add vitest.
    • Add vitest.config.ts for configuration.
  • Test Files:
    • Convert test files from .js to .ts (e.g., arrow.test.js to arrow.ts).
    • Update test syntax from uvu to vitest in embedding.test.ts, neighbors.test.ts, project.test.ts, and user.test.ts.
    • Replace assert with expect in test assertions.
  • Miscellaneous:
    • Remove project.test.js and replace with project.test.ts with updated test cases.

This description was created by Ellipsis for ecd2422e4a283ed69ee184ff0a8278fd6555dd41. It will automatically update as commits are pushed.

bmschmidt commented 1 month ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bmschmidt and the rest of your teammates on Graphite Graphite

bmschmidt commented 4 weeks ago

Merge activity