@@ -64,7 +64,7 @@ test.serial('Prepare from a shallow clone', async t => {
64
64
} ;
65
65
await t . context . m . prepare ( pluginConfig , { logger : t . context . logger , options : { repositoryUrl, branch} , nextRelease} ) ;
66
66
67
- t . deepEqual ( await gitCommitedFiles ( ) , [ 'dist/file.js' , 'package.json' ] ) ;
67
+ t . deepEqual ( ( await gitCommitedFiles ( ) ) . sort ( ) , [ 'dist/file.js' , 'package.json' ] . sort ( ) ) ;
68
68
const [ commit ] = await gitGetCommits ( ) ;
69
69
t . is ( commit . subject , `Release version ${ nextRelease . version } from branch ${ branch } ` ) ;
70
70
t . is ( commit . body , `${ nextRelease . notes } \n` ) ;
@@ -93,7 +93,7 @@ test.serial('Prepare from a detached head repository', async t => {
93
93
} ;
94
94
await t . context . m . prepare ( pluginConfig , { logger : t . context . logger , options : { repositoryUrl, branch} , nextRelease} ) ;
95
95
96
- t . deepEqual ( await gitCommitedFiles ( ) , [ 'dist/file.js' , 'package.json' ] ) ;
96
+ t . deepEqual ( ( await gitCommitedFiles ( ) ) . sort ( ) , [ 'dist/file.js' , 'package.json' ] . sort ( ) ) ;
97
97
const [ commit ] = await gitGetCommits ( ) ;
98
98
t . is ( commit . subject , `Release version ${ nextRelease . version } from branch ${ branch } ` ) ;
99
99
t . is ( commit . body , `${ nextRelease . notes } \n` ) ;
0 commit comments