We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab4cf3d commit 1181dfeCopy full SHA for 1181dfe
src/vfs/createVirtualFileSystem.spec.ts
@@ -30,7 +30,7 @@ describe("createVirtualFileSystem", () => {
30
31
it("should truncate and hash long filenames", () => {
32
const fs: Record<string, string> = {};
33
- const vfs = createVirtualFileSystem("@vroot", fs, false);
+ const vfs = createVirtualFileSystem("/", fs, false);
34
35
const longName = "A".repeat(300);
36
const content = "Test content";
@@ -57,7 +57,7 @@ describe("createVirtualFileSystem", () => {
57
58
it("should not truncate or hash short filenames", () => {
59
60
61
62
const shortName = "short-filename";
63
@@ -76,5 +76,4 @@ describe("createVirtualFileSystem", () => {
76
expect(storedPath).toBe(`${shortName}${ext}`);
77
expect(fs[storedPath]).toBe(Buffer.from(content).toString("base64"));
78
});
79
-
80
0 commit comments