@@ -236,11 +236,11 @@ describe('config', function() {
236236 } ) ;
237237 } ) ;
238238
239- it ( 'should not throws if value from environment is not valid' , ( ) => {
239+ it ( 'should throw if value from environment is not valid' , ( ) => {
240240 [ '{a:1}' , '{' , ']' , '\'string\'' , '\n' ] . forEach ( ( value ) => {
241- assert . doesNotThrow ( ( ) => {
241+ assert . throw ( ( ) => {
242242 assertParsesEnv ( { property : name , value} ) ;
243- } ) ;
243+ } , GeminiError ) ;
244244 } ) ;
245245 } ) ;
246246
@@ -251,11 +251,11 @@ describe('config', function() {
251251 } ) ;
252252 } ) ;
253253
254- it ( 'should not throws if value from cli is not valid' , ( ) => {
254+ it ( 'should throw if value from cli is not valid' , ( ) => {
255255 [ '{a:1}' , '{' , ']' , '\'string\'' , '\n' ] . forEach ( ( value ) => {
256- assert . doesNotThrow ( ( ) => {
256+ assert . throw ( ( ) => {
257257 assertParsesCli ( { property : name , value} ) ;
258- } ) ;
258+ } , GeminiError ) ;
259259 } ) ;
260260 } ) ;
261261 }
@@ -475,7 +475,7 @@ describe('config', function() {
475475 } ) ;
476476 } ) ;
477477
478- describe . only ( 'plugins' , ( ) => {
478+ describe ( 'plugins' , ( ) => {
479479 testObjectOption ( 'system.plugins.plugin' ) ;
480480 } ) ;
481481 } ) ;
0 commit comments