Skip to content

Commit 4441268

Browse files
committed
test: add test data
1 parent 0fcb624 commit 4441268

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
12.6 KB
Loading

test/mount.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { expect } from "vitest";
22
import { test } from "../src";
33

4-
test("user can mount directories from file-system to webcontainer", async ({
4+
test.only("user can mount directories from file-system to webcontainer", async ({
55
webcontainer,
66
}) => {
77
await webcontainer.mount("test/fixtures/mount-example");
88

99
const ls = await webcontainer.runCommand("ls");
10-
expect(ls).toMatchInlineSnapshot(`"file-1.ts nested"`);
10+
expect(ls).toMatchInlineSnapshot(`"file-1.ts image.png nested"`);
1111

1212
const lsNested = await webcontainer.runCommand("ls", ["nested"]);
1313
expect(lsNested).toMatchInlineSnapshot(`"file-2.ts"`);

0 commit comments

Comments
 (0)