File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -16,3 +16,5 @@ export const WriteStream: typeof fs.WriteStream =
16
16
export const FileReadStream = mock . __createMock__ ( "fs.FileReadStream" ) ;
17
17
18
18
export const FileWriteStream = mock . __createMock__ ( "fs.FileWriteStream" ) ;
19
+
20
+ export const StatsFs : typeof fs . StatsFs = mock . __createMock__ ( "fs.StatsFs" ) ;
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ export const truncate: typeof fs.truncate = callbackify(fsp.truncate);
56
56
export const unlink : typeof fs . unlink = callbackify ( fsp . unlink ) ;
57
57
export const utimes : typeof fs . utimes = callbackify ( fsp . utimes ) ;
58
58
export const writeFile : typeof fs . writeFile = callbackify ( fsp . writeFile ) ;
59
+ export const statfs : typeof fs . statfs = callbackify ( fsp . statfs ) ;
59
60
60
61
export const close : typeof fs . close = notImplementedAsync ( "fs.close" ) ;
61
62
export const createReadStream : typeof fs . createReadStream = notImplementedAsync (
@@ -142,3 +143,4 @@ export const writeFileSync: typeof fs.writeFileSync =
142
143
notImplemented ( "fs.writeFileSync" ) ;
143
144
export const writeSync : typeof fs . writeSync = notImplemented ( "fs.writeSync" ) ;
144
145
export const writevSync : typeof fs . writevSync = notImplemented ( "fs.writevSync" ) ;
146
+ export const statfsSync : typeof fs . statfsSync = notImplemented ( "fs.statfsSync" ) ;
Original file line number Diff line number Diff line change @@ -33,3 +33,4 @@ export const appendFile: typeof fsp.appendFile =
33
33
notImplemented ( "fs.appendFile" ) ;
34
34
export const readFile : typeof fsp . readFile = notImplemented ( "fs.readFile" ) ;
35
35
export const watch : typeof fsp . watch = notImplemented ( "fs.watch" ) ;
36
+ export const statfs : typeof fsp . statfs = notImplemented ( "fs.statfs" ) ;
You can’t perform that action at this time.
0 commit comments