File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ describe("E2E CLI `plugins` arg", function () {
1616 flags : {
1717 logLevel : "silent" ,
1818 open : false ,
19- plugins : [ "bs-html -injector" ]
19+ plugins : [ "bs-snippet -injector" ]
2020 }
2121 } ,
2222 cb : function ( err , bs ) {
23- var plugin = bs . getUserPlugin ( "HTML Injector" ) ;
24- assert . equal ( plugin . name , "HTML Injector" ) ;
23+ var plugin = bs . getUserPlugin ( "Snippet Injector" ) ;
24+ assert . equal ( plugin . name , "Snippet Injector" ) ;
2525 assert . equal ( plugin . active , true ) ;
2626 bs . cleanup ( ) ;
2727 done ( ) ;
@@ -36,14 +36,14 @@ describe("E2E CLI `plugins` arg", function () {
3636 flags : {
3737 logLevel : "silent" ,
3838 open : false ,
39- plugins : [ "bs-html -injector?files[]=*.html" ]
39+ plugins : [ "bs-snippet -injector?files[]=*.html" ]
4040 }
4141 } ,
4242 cb : function ( err , bs ) {
43- var plugin = bs . getUserPlugin ( "HTML Injector" ) ;
44- assert . equal ( plugin . name , "HTML Injector" ) ;
43+ var plugin = bs . getUserPlugin ( "Snippet Injector" ) ;
44+ assert . equal ( plugin . name , "Snippet Injector" ) ;
4545 assert . equal ( plugin . active , true ) ;
46- assert . deepEqual ( plugin . opts , { files : [ "*.html" ] } ) ;
46+ assert . deepEqual ( plugin . opts . files , [ "*.html" ] ) ;
4747 bs . cleanup ( ) ;
4848 done ( ) ;
4949 }
You can’t perform that action at this time.
0 commit comments