@@ -22,6 +22,7 @@ test('npm version from-git with a valid tag creates a new commit', function (t)
2222
2323 function runVersion ( er ) {
2424 t . ifError ( er , 'git tag ran without error' )
25+ npm . config . set ( 'sign-git-commit' , false )
2526 npm . config . set ( 'sign-git-tag' , false )
2627 npm . commands . version ( [ 'from-git' ] , checkVersion )
2728 }
@@ -51,6 +52,7 @@ test('npm version from-git with a valid tag updates the package.json version', f
5152
5253 function runVersion ( er ) {
5354 t . ifError ( er , 'git tag ran without error' )
55+ npm . config . set ( 'sign-git-commit' , false )
5456 npm . config . set ( 'sign-git-tag' , false )
5557 npm . commands . version ( [ 'from-git' ] , checkManifest )
5658 }
@@ -75,6 +77,7 @@ test('npm version from-git strips tag-version-prefix', function (t) {
7577
7678 function runVersion ( er ) {
7779 t . ifError ( er , 'git tag ran without error' )
80+ npm . config . set ( 'sign-git-commit' , false )
7881 npm . config . set ( 'sign-git-tag' , false )
7982 npm . config . set ( 'tag-version-prefix' , prefix )
8083 npm . commands . version ( [ 'from-git' ] , checkVersion )
@@ -107,6 +110,7 @@ test('npm version from-git only strips tag-version-prefix if it is a prefix', fu
107110
108111 function runVersion ( er ) {
109112 t . ifError ( er , 'git tag ran without error' )
113+ npm . config . set ( 'sign-git-commit' , false )
110114 npm . config . set ( 'sign-git-tag' , false )
111115 npm . config . set ( 'tag-version-prefix' , prefix )
112116 npm . commands . version ( [ 'from-git' ] , checkVersion )
@@ -137,6 +141,7 @@ test('npm version from-git with an existing version', function (t) {
137141
138142 function runVersion ( er ) {
139143 t . ifError ( er , 'git tag ran without error' )
144+ npm . config . set ( 'sign-git-commit' , false )
140145 npm . config . set ( 'sign-git-tag' , false )
141146 npm . commands . version ( [ 'from-git' ] , checkVersion )
142147 }
@@ -154,6 +159,7 @@ test('npm version from-git with an invalid version tag', function (t) {
154159
155160 function runVersion ( er ) {
156161 t . ifError ( er , 'git tag ran without error' )
162+ npm . config . set ( 'sign-git-commit' , false )
157163 npm . config . set ( 'sign-git-tag' , false )
158164 npm . commands . version ( [ 'from-git' ] , checkVersion )
159165 }
@@ -170,6 +176,7 @@ test('npm version from-git without any versions', function (t) {
170176
171177 function runVersion ( er ) {
172178 t . ifError ( er , 'created git repo without errors' )
179+ npm . config . set ( 'sign-git-commit' , false )
173180 npm . config . set ( 'sign-git-tag' , false )
174181 npm . commands . version ( [ 'from-git' ] , checkVersion )
175182 }
0 commit comments