@@ -68,7 +68,7 @@ describe('parseGitLsTree', () => {
6868
6969describe ( 'getPackageDeps' , ( ) => {
7070
71- it ( 'can parse commited file' , ( done ) => {
71+ it ( 'can parse committed file' , ( done ) => {
7272 const results : IPackageDeps = getPackageDeps ( TEST_PROJECT_PATH ) ;
7373 try {
7474 const expectedFiles : { [ key : string ] : string } = {
@@ -104,7 +104,7 @@ describe('getPackageDeps', () => {
104104 done ( ) ;
105105 } ) ;
106106
107- it ( 'can can handle adding one file' , ( done ) => { // tslint:disable-line
107+ it ( 'can handle adding one file' , ( done ) => { // tslint:disable-line
108108 const tempFilePath : string = path . join ( TEST_PROJECT_PATH , 'a.txt' ) ;
109109
110110 FileSystem . writeFile ( tempFilePath , 'a' ) ;
@@ -136,7 +136,7 @@ describe('getPackageDeps', () => {
136136
137137 } ) ;
138138
139- it ( 'can can handle adding two files' , ( done ) => { // tslint:disable-line
139+ it ( 'can handle adding two files' , ( done ) => { // tslint:disable-line
140140 const tempFilePath1 : string = path . join ( TEST_PROJECT_PATH , 'a.txt' ) ;
141141 const tempFilePath2 : string = path . join ( TEST_PROJECT_PATH , 'b.txt' ) ;
142142
@@ -171,13 +171,13 @@ describe('getPackageDeps', () => {
171171 _done ( ) ;
172172 } ) ;
173173
174- it ( 'can can handle removing one file' , ( done ) => {
174+ it ( 'can handle removing one file' , ( done ) => {
175175 const testFilePath : string = path . join ( TEST_PROJECT_PATH , 'file1.txt' ) ;
176176
177177 FileSystem . deleteFile ( testFilePath ) ;
178178
179179 function _done ( e ?: Error ) : void {
180- execSync ( `git checkout ${ testFilePath } ` ) ;
180+ execSync ( `git checkout ${ testFilePath } ` , { stdio : 'ignore' } ) ;
181181 done ( e ) ;
182182 }
183183
@@ -199,13 +199,13 @@ describe('getPackageDeps', () => {
199199 _done ( ) ;
200200 } ) ;
201201
202- it ( 'can can handle changing one file' , ( done ) => {
202+ it ( 'can handle changing one file' , ( done ) => {
203203 const testFilePath : string = path . join ( TEST_PROJECT_PATH , 'file1.txt' ) ;
204204
205205 FileSystem . writeFile ( testFilePath , 'abc' ) ;
206206
207207 function _done ( e ?: Error ) : void {
208- execSync ( `git checkout ${ testFilePath } ` ) ;
208+ execSync ( `git checkout ${ testFilePath } ` , { stdio : 'ignore' } ) ;
209209 done ( e ) ;
210210 }
211211
0 commit comments