File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,15 @@ describe('CLI', () => {
246
246
. catch ( done ) ;
247
247
} ) ;
248
248
249
+ it ( '--no-open' , ( done ) => {
250
+ testBin ( '--no-open' )
251
+ . then ( ( output ) => {
252
+ expect ( output . exitCode ) . toEqual ( 0 ) ;
253
+ done ( ) ;
254
+ } )
255
+ . catch ( done ) ;
256
+ } ) ;
257
+
249
258
it ( '--open-app google-chrome' , ( done ) => {
250
259
testBin ( '--open-app google-chrome' )
251
260
. then ( ( output ) => {
@@ -264,6 +273,15 @@ describe('CLI', () => {
264
273
. catch ( done ) ;
265
274
} ) ;
266
275
276
+ it ( '--no-open-target' , ( done ) => {
277
+ testBin ( '--no-open-target' )
278
+ . then ( ( output ) => {
279
+ expect ( output . exitCode ) . toEqual ( 0 ) ;
280
+ done ( ) ;
281
+ } )
282
+ . catch ( done ) ;
283
+ } ) ;
284
+
267
285
it ( '--open-target index.html' , ( done ) => {
268
286
testBin ( '--open-target index.html' )
269
287
. then ( ( output ) => {
You can’t perform that action at this time.
0 commit comments