Skip to content

Commit a1c6cd8

Browse files
test: fix
1 parent 01bc753 commit a1c6cd8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

test/CachedInputFileSystem.test.js

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ describe("CachedInputFileSystem OperationMergerBackend ('stat' and 'statSync')",
2020
100
2121
);
2222
},
23+
// @ts-ignore
2324
statSync: function (path, options) {
2425
return {
2526
path,
@@ -101,6 +102,7 @@ describe("CachedInputFileSystem OperationMergerBackend ('lstat' and 'lstatSync')
101102
100
102103
);
103104
},
105+
// @ts-ignore
104106
lstatSync: function (path, options) {
105107
return {
106108
path,
@@ -185,6 +187,7 @@ describe("CachedInputFileSystem OperationMergerBackend ('realpath' and 'realpath
185187
100
186188
);
187189
},
190+
// @ts-ignore
188191
realpathSync: function (path, options) {
189192
return {
190193
path,
@@ -269,6 +272,7 @@ describe("CachedInputFileSystem CacheBackend", () => {
269272
100
270273
);
271274
},
275+
// @ts-ignore
272276
statSync: function (path, options) {
273277
return {
274278
path,

test/pr-53.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ describe("pr-53", () => {
44
it("should allow to readJsonSync in CachedInputFileSystem", () => {
55
var cfs = new CachedInputFileSystem(
66
{
7+
// @ts-ignore
78
readFileSync: function (path) {
89
return JSON.stringify("abc" + path);
910
}

0 commit comments

Comments
 (0)