Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 005c13f

Browse files
chore(deps-dev): bump memfs from 3.5.1 to 4.2.0 (#372)
1 parent d0416aa commit 005c13f

File tree

3 files changed

+177
-23
lines changed

3 files changed

+177
-23
lines changed

package-lock.json

Lines changed: 173 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"eslint": "^8.41.0",
5252
"husky": "^8.0.1",
5353
"jest": "^27.2.5",
54-
"memfs": "^3.5.1",
54+
"memfs": "^4.2.0",
5555
"prettier": "^2.8.8",
5656
"pretty-quick": "^3.1.1",
5757
"semantic-release": "^21.0.2",

test/install/development.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ const altFetchResult: git.FetchResult = {
1515
fetchHead: "e0c9035898dd52fc65c41454cec9c4d2611bfb37",
1616
};
1717

18-
const cloneSpy = jest.spyOn(git, "clone").mockImplementation((opts) => vol.promises.mkdir(opts.dir));
18+
const cloneSpy = jest.spyOn(git, "clone").mockImplementation(async (opts) => {
19+
await vol.promises.mkdir(opts.dir);
20+
});
1921
const fetchSpy = jest.spyOn(git, "fetch").mockResolvedValue(defaultFetchResult);
2022
const mergeSpy = jest.spyOn(git, "merge").mockResolvedValue({});
2123
const checkoutSpy = jest.spyOn(git, "checkout").mockResolvedValue();

0 commit comments

Comments
 (0)