flex-plugin-builder
flex-plugin-builder copied to clipboard
[BUG] Passing Optional args to jest
Description
Unable to pass optional args like --watch on twilio flex:plugins:test
Versions
| package | version |
|---|---|
@twilio/plugin-flex |
4.2.0 |
Steps to Reproduce
execute 'twilio flex:plugins:test -- --watch'
Expected Behavior
test executed with watch argument to jest.
Screenshots

Additional Context
If I put a '-- -- ' (twice), it's working as expected. twilio flex:plugins:test -- -- --watch
@paulodecarvalho I cannot reproduce this on a Mac. You are using Windows - I will have to test this later on a Windows workspace to see if Windows behave separately.
$ twilio flex:plugins:test -- --watch
Determining test suites to run...
--watch is not supported without git/hg, please use --watchAll
Replacing --watch with --watchAll works.
Hi,
This is a long open item more than a year now, hence closing it. Feel free to reopen it if still required.