Skip to content

fix: make test command compatible with windows shell#511

Open
LibinPR wants to merge 1 commit into
node-cron:mainfrom
LibinPR:fix/windows-test-command
Open

fix: make test command compatible with windows shell#511
LibinPR wants to merge 1 commit into
node-cron:mainfrom
LibinPR:fix/windows-test-command

Conversation

@LibinPR
Copy link
Copy Markdown

@LibinPR LibinPR commented Apr 28, 2026

Issue: The test command fails on Windows environments because single quotes are not interpreted correctly by PowerShell, causing Mocha to not detect test files

Fix: Replaced single quotes with double quotes in test script

Result: Mocha now correctly detects/finds and run tests on windows

NOTE: Test execution still fails due to a separate runtime issue related to EventEmitter import, which is unrelated to this fix

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