storybookjs / test-runner

πŸš• Turn stories into executable tests
https://storybook.js.org/docs/writing-tests/interaction-testing
MIT License
220 stars 66 forks source link

Fix Windows support in coverage generation #461

Closed yannbf closed 1 month ago

yannbf commented 1 month ago

Closes #459

What I did

This PR attempts to fix a Windows compatibility issue when generating coverage. By using node to execute the binary file instead, it should work cross-platform.

Checklist for Contributors

Manual testing

This section is mandatory for all contributions. If you believe no manual test is necessary, please state so explicitly. Thanks!

Documentation

Checklist for Maintainers

πŸ“¦ Published PR as canary version: 0.18.1--canary.461.2324514.0
:sparkles: Test out this PR locally via: ```bash npm install @storybook/test-runner@0.18.1--canary.461.2324514.0 # or yarn add @storybook/test-runner@0.18.1--canary.461.2324514.0 ```
github-actions[bot] commented 1 month ago

:rocket: PR was released in v0.18.2-next.0 :rocket: