Skip to content

fix: support Windows test execution using cross-env#3064

Merged
iamkun merged 1 commit into
iamkun:devfrom
ooweat:fix/windows-cronss-env
May 24, 2026
Merged

fix: support Windows test execution using cross-env#3064
iamkun merged 1 commit into
iamkun:devfrom
ooweat:fix/windows-cronss-env

Conversation

@ooweat

@ooweat ooweat commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR fixes test execution on Windows environments.

Problem

The existing test script used Unix-style environment variable syntax:

TZ=Pacific/Auckland npm run test-tz

This fails on Windows CMD environments.

Solution

Replaced environment variable handling with cross-env for cross-platform compatibility.

Result

Tests now run correctly on:

  • Windows
  • macOS
  • Linux

@iamkun iamkun merged commit 51ef048 into iamkun:dev May 24, 2026
1 check 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.

2 participants