Skip to content

fix: replace dist/ with src/ in test imports (#71)#77

Open
michaeldistel wants to merge 1 commit into
Autonomy-Logic:developmentfrom
michaeldistel:fix/issue-71-dist-to-src-imports
Open

fix: replace dist/ with src/ in test imports (#71)#77
michaeldistel wants to merge 1 commit into
Autonomy-Logic:developmentfrom
michaeldistel:fix/issue-71-dist-to-src-imports

Conversation

@michaeldistel
Copy link
Copy Markdown
Contributor

@michaeldistel michaeldistel commented Mar 6, 2026

Closes #71

Summary

  • 8 test files imported from dist/ causing tests to silently validate stale compiled output instead of current source
  • Replace dist/ with src/ in all import paths; Vitest's Vite pipeline transpiles .ts on-the-fly so dist/ is never needed
  • cli-library.test.ts left unchanged — it invokes dist/cli.js as a subprocess which correctly requires a built binary

Testing

npm test: 51 test files passed, 1414 tests passed, 7 skipped — no regressions

@michaeldistel michaeldistel changed the base branch from main to development March 6, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: 9 test files import from dist/ instead of src/

1 participant