@@ -155,7 +155,7 @@ test.serial('Throw SemanticReleaseError Array if config option are not valid in
155155 t . is ( errors [ 2 ] . name , 'SemanticReleaseError' ) ;
156156 t . is ( errors [ 2 ] . code , 'EINVALIDPKGROOT' ) ;
157157 t . is ( errors [ 3 ] . name , 'SemanticReleaseError' ) ;
158- t . is ( errors [ 3 ] . code , 'ENOPKGNAME ' ) ;
158+ t . is ( errors [ 3 ] . code , 'ENOPKG ' ) ;
159159} ) ;
160160
161161test . serial ( 'Publish the package' , async t => {
@@ -266,7 +266,7 @@ test.serial('Throw SemanticReleaseError Array if config option are not valid in
266266 t . is ( errors [ 2 ] . name , 'SemanticReleaseError' ) ;
267267 t . is ( errors [ 2 ] . code , 'EINVALIDPKGROOT' ) ;
268268 t . is ( errors [ 3 ] . name , 'SemanticReleaseError' ) ;
269- t . is ( errors [ 3 ] . code , 'ENOPKGNAME ' ) ;
269+ t . is ( errors [ 3 ] . code , 'ENOPKG ' ) ;
270270} ) ;
271271
272272test . serial ( 'Prepare the package' , async t => {
@@ -331,7 +331,7 @@ test.serial('Throw SemanticReleaseError Array if config option are not valid in
331331 t . is ( errors [ 2 ] . name , 'SemanticReleaseError' ) ;
332332 t . is ( errors [ 2 ] . code , 'EINVALIDPKGROOT' ) ;
333333 t . is ( errors [ 3 ] . name , 'SemanticReleaseError' ) ;
334- t . is ( errors [ 3 ] . code , 'ENOPKGNAME ' ) ;
334+ t . is ( errors [ 3 ] . code , 'ENOPKG ' ) ;
335335} ) ;
336336
337337test . serial ( 'Verify token and set up auth only on the fist call, then prepare on prepare call only' , async t => {
0 commit comments