Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Mar 6, 2024
1 parent 01bc753 commit a1c6cd8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/CachedInputFileSystem.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ describe("CachedInputFileSystem OperationMergerBackend ('stat' and 'statSync')",
100
);
},
// @ts-ignore
statSync: function (path, options) {
return {
path,
Expand Down Expand Up @@ -101,6 +102,7 @@ describe("CachedInputFileSystem OperationMergerBackend ('lstat' and 'lstatSync')
100
);
},
// @ts-ignore
lstatSync: function (path, options) {
return {
path,
Expand Down Expand Up @@ -185,6 +187,7 @@ describe("CachedInputFileSystem OperationMergerBackend ('realpath' and 'realpath
100
);
},
// @ts-ignore
realpathSync: function (path, options) {
return {
path,
Expand Down Expand Up @@ -269,6 +272,7 @@ describe("CachedInputFileSystem CacheBackend", () => {
100
);
},
// @ts-ignore
statSync: function (path, options) {
return {
path,
Expand Down
1 change: 1 addition & 0 deletions test/pr-53.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ describe("pr-53", () => {
it("should allow to readJsonSync in CachedInputFileSystem", () => {
var cfs = new CachedInputFileSystem(
{
// @ts-ignore
readFileSync: function (path) {
return JSON.stringify("abc" + path);
}
Expand Down

0 comments on commit a1c6cd8

Please sign in to comment.