Skip to content

Commit 1181dfe

Browse files
committed
fix lint
1 parent ab4cf3d commit 1181dfe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/vfs/createVirtualFileSystem.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe("createVirtualFileSystem", () => {
3030

3131
it("should truncate and hash long filenames", () => {
3232
const fs: Record<string, string> = {};
33-
const vfs = createVirtualFileSystem("@vroot", fs, false);
33+
const vfs = createVirtualFileSystem("/", fs, false);
3434

3535
const longName = "A".repeat(300);
3636
const content = "Test content";
@@ -57,7 +57,7 @@ describe("createVirtualFileSystem", () => {
5757

5858
it("should not truncate or hash short filenames", () => {
5959
const fs: Record<string, string> = {};
60-
const vfs = createVirtualFileSystem("@vroot", fs, false);
60+
const vfs = createVirtualFileSystem("/", fs, false);
6161

6262
const shortName = "short-filename";
6363
const content = "Test content";
@@ -76,5 +76,4 @@ describe("createVirtualFileSystem", () => {
7676
expect(storedPath).toBe(`${shortName}${ext}`);
7777
expect(fs[storedPath]).toBe(Buffer.from(content).toString("base64"));
7878
});
79-
8079
});

0 commit comments

Comments
 (0)