-
-
Notifications
You must be signed in to change notification settings - Fork 156
Open
Description
So as part of the process of running modules on Windows, we're running into some issues as the npm test command on many modules is Unix specific.
I can see three possible solutions to this problem:
- Work out what commands tests should be using, by finding something that works with Windows and Unix. Raise PRs against the modules to get them to update their test targets. If anyone is using bash-specific test scripts, encourage them to use Node scripts instead.
- Work out a different command and npm target (e.g.
npm run-script test-win) for windows, raise PRs against the modules adding this command. - Give up and use Git bash (to the extent that this actually resolves the issues).
I'd say 3 is the least work (and it's what we're doing at the moment), but Git bash isn't officially supported by Node for windows, so it's probably not the best way to go.
1 would be the ideal solution, the question is whether there is a standard npm test command that can be used. For npm itself, @iarna suggested this (option 1), which works on windows, but then later suggested this (option 2), which is a separate windows command.
Would love to hear views from someone who's had to deal with this before on how to proceed with this.
Metadata
Metadata
Assignees
Labels
No labels