flex-plugin-builder icon indicating copy to clipboard operation
flex-plugin-builder copied to clipboard

[BUG] Passing Optional args to jest

Open paulodecarvalho opened this issue 4 years ago • 1 comments

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

image

Additional Context

If I put a '-- -- ' (twice), it's working as expected. twilio flex:plugins:test -- -- --watch

paulodecarvalho avatar Oct 04 '21 07:10 paulodecarvalho

@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.

ktalebian avatar Oct 14 '21 06:10 ktalebian

Hi,

This is a long open item more than a year now, hence closing it. Feel free to reopen it if still required.

anjha91 avatar Oct 04 '23 08:10 anjha91