Skip to content

fix: improve test runner compatibility on Windows and ensure clean process exit#18

Merged
valorisa merged 1 commit intomainfrom
fix/test-runner-windows-compat
Apr 5, 2026
Merged

fix: improve test runner compatibility on Windows and ensure clean process exit#18
valorisa merged 1 commit intomainfrom
fix/test-runner-windows-compat

Conversation

@valorisa
Copy link
Copy Markdown
Owner

@valorisa valorisa commented Apr 5, 2026

Summary

  • Fix test runner hanging on Windows by using
    ode --import tsx\ with --test-isolation=none\ and --test-force-exit\
  • Fix \cli-flow.test.ts\ integration tests by using
    px tsx\ for child process execution
  • Ensure \promptops.ts\ exits cleanly with \process.exit()\ after main completes

Changes

  • \scripts/node/package.json: Updated test commands to use
    ode --import tsx --test-isolation=none --test-force-exit\
  • \scripts/node/tests/integration/cli-flow.test.ts: Changed \ sx\ to
    px tsx\ in CLI_PATH
  • \scripts/node/promptops.ts: Added \process.exit()\ after \main()\ resolves

@gemini-code-assist
Copy link
Copy Markdown

Important

Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services.

@valorisa valorisa merged commit ffb3a5d into main Apr 5, 2026
7 checks passed
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.

1 participant