@@ -196,7 +196,7 @@ test('gets changed files for git', async () => {
196196 run ( `${ GIT } commit -m "test3"` , DIR ) ;
197197
198198 ( { changedFiles : files } = await getChangedFilesForRoots ( roots , {
199- sinceCommit : 'HEAD^^' ,
199+ toContributeTo : 'HEAD^^' ,
200200 } ) ) ;
201201 // Returns files from the last 2 commits
202202 expect (
@@ -214,7 +214,7 @@ test('gets changed files for git', async () => {
214214 run ( `${ GIT } commit -m "test5"` , DIR ) ;
215215
216216 ( { changedFiles : files } = await getChangedFilesForRoots ( roots , {
217- sinceCommit : 'master' ,
217+ toContributeTo : 'master' ,
218218 } ) ) ;
219219 // Returns files from this branch but not ones that only exist on master
220220 expect (
@@ -297,7 +297,7 @@ test('gets changed files for hg', async () => {
297297 run ( `${ HG } commit -m "test3"` , DIR ) ;
298298
299299 ( { changedFiles : files } = await getChangedFilesForRoots ( roots , {
300- sinceCommit : '-3' ,
300+ toContributeTo : '-3' ,
301301 } ) ) ;
302302 // Returns files from the last 2 commits
303303 expect (
@@ -317,7 +317,7 @@ test('gets changed files for hg', async () => {
317317 run ( `${ HG } commit -m "test4"` , DIR ) ;
318318
319319 ( { changedFiles : files } = await getChangedFilesForRoots ( roots , {
320- sinceCommit : 'master' ,
320+ toContributeTo : 'master' ,
321321 } ) ) ;
322322 // Returns files from this branch but not ones that only exist on master
323323 expect (
0 commit comments