@@ -22,6 +22,11 @@ t.test('create repo', { bail: true }, t => {
22
22
const git = ( ...cmd ) => spawnGit ( cmd , { cwd : repo } )
23
23
const write = ( f , c ) => fs . writeFileSync ( `${ repo } /${ f } ` , c )
24
24
return git ( 'init' )
25
+ . then ( ( ) => git ( 'config' , 'user.name' , 'pacotedev' ) )
26
+ . then ( ( ) => git ( 'config' , 'user.email' , 'i+pacotedev@izs.me' ) )
27
+ . then ( ( ) => git ( 'config' , 'tag.gpgSign' , 'false' ) )
28
+ . then ( ( ) => git ( 'config' , 'commit.gpgSign' , 'false' ) )
29
+ . then ( ( ) => git ( 'config' , 'tag.forceSignAnnotated' , 'false' ) )
25
30
. then ( ( ) => write ( 'foo' , 'bar' ) )
26
31
. then ( ( ) => git ( 'add' , 'foo' ) )
27
32
. then ( ( ) => git ( 'commit' , '-m' , 'foobar' ) )
@@ -83,6 +88,11 @@ t.test('create a repo with a submodule', { bail: true }, t => {
83
88
const git = ( ...cmd ) => spawnGit ( cmd , { cwd : repo } )
84
89
const write = ( f , c ) => fs . writeFileSync ( `${ repo } /${ f } ` , c )
85
90
return git ( 'init' )
91
+ . then ( ( ) => git ( 'config' , 'user.name' , 'pacotedev' ) )
92
+ . then ( ( ) => git ( 'config' , 'user.email' , 'i+pacotedev@izs.me' ) )
93
+ . then ( ( ) => git ( 'config' , 'tag.gpgSign' , 'false' ) )
94
+ . then ( ( ) => git ( 'config' , 'commit.gpgSign' , 'false' ) )
95
+ . then ( ( ) => git ( 'config' , 'tag.forceSignAnnotated' , 'false' ) )
86
96
. then ( ( ) => write ( 'file' , 'data' ) )
87
97
. then ( ( ) => git ( 'add' , 'file' ) )
88
98
. then ( ( ) => git ( 'commit' , '-m' , 'file' ) )
0 commit comments