Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-platform issue with npm script for running tests #396

Closed
issackjohn opened this issue Mar 7, 2024 · 0 comments · Fixed by #397
Closed

Cross-platform issue with npm script for running tests #396

issackjohn opened this issue Mar 7, 2024 · 0 comments · Fixed by #397

Comments

@issackjohn
Copy link
Contributor

issackjohn commented Mar 7, 2024

When trying to run any of the npm run test:<browser> commands on a Windows machine, the following error is encountered:

'BROWSER' is not recognized as an internal or external command,
operable program or batch file.

Steps to reproduce the behavior:

  1. Clone the repository on a Windows machine
  2. Run npm install
  3. Run npm run test:edge
  4. See error

Expected behavior: The tests should run successfully.

Additional context: This issue seems to be due to the way environment variables are set in the npm script. The current script uses a syntax that works on Unix-based systems but not on Windows.

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 a pull request may close this issue.

1 participant