@@ -12,7 +12,6 @@ jest.mock('@jupyterlab/apputils');
1212describe ( 'FileList' , ( ) => {
1313 const props : IFileListProps = {
1414 model : null ,
15- refresh : async ( ) => { } ,
1615 renderMime : null ,
1716 stagedFiles : [ ] ,
1817 unstagedFiles : [ ] ,
@@ -100,7 +99,7 @@ describe('FileList', () => {
10099 // Mock identity look up
101100 const identity = jest
102101 . spyOn ( GitExtension . prototype , 'config' )
103- . mockImplementation ( ( options , path ) => {
102+ . mockImplementation ( options => {
104103 let response : Response = null ;
105104 if ( options === undefined ) {
106105 response = new Response (
@@ -151,7 +150,7 @@ describe('FileList', () => {
151150 // Mock identity look up
152151 const identity = jest
153152 . spyOn ( GitExtension . prototype , 'config' )
154- . mockImplementation ( ( options , path ) => {
153+ . mockImplementation ( options => {
155154 let response : Response = null ;
156155 if ( options === undefined ) {
157156 response = new Response (
@@ -202,7 +201,7 @@ describe('FileList', () => {
202201 // Mock identity look up
203202 const identity = jest
204203 . spyOn ( GitExtension . prototype , 'config' )
205- . mockImplementation ( ( options , path ) => {
204+ . mockImplementation ( options => {
206205 let response : Response = null ;
207206 if ( options === undefined ) {
208207 response = new Response (
0 commit comments