You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fix for this issue has been released as a part of Stencil v2.15.1. As a result I'm going to close this issue. Thanks again for your help with this!
Prerequisites
Stencil Version
12.15.0
Current Behavior
Command line flags passed to
stencil test
are being overridden by the stencil defaults.Running
stencil test --spec --passWithNoTests
will log out the correct arguments:But then fail with:
You can see the override happening on line:
https://github.com/ionic-team/stencil/blame/main/src/testing/jest/jest-config.ts#L62
And if we add some logs, we can see the passed flag being overridden:
Expected Behavior
Defaults should be the default, and not override the passed flags
Steps to Reproduce
In a stencil repo with no tests, run
stencil test --spec --passWithNoTests
and observe failure.or see
overridden-test-flags
branch in repo: https://github.com/George-Payne/stencil-custom-target-example/tree/overridden-test-flagsCode Reproduction URL
https://github.com/George-Payne/stencil-custom-target-example/tree/overridden-test-flags
Additional Information
No response
The text was updated successfully, but these errors were encountered: