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 0fcb624 commit 4441268Copy full SHA for 4441268
test/fixtures/mount-example/image.png
12.6 KB
test/mount.test.ts
@@ -1,13 +1,13 @@
1
import { expect } from "vitest";
2
import { test } from "../src";
3
4
-test("user can mount directories from file-system to webcontainer", async ({
+test.only("user can mount directories from file-system to webcontainer", async ({
5
webcontainer,
6
}) => {
7
await webcontainer.mount("test/fixtures/mount-example");
8
9
const ls = await webcontainer.runCommand("ls");
10
- expect(ls).toMatchInlineSnapshot(`"file-1.ts nested"`);
+ expect(ls).toMatchInlineSnapshot(`"file-1.ts image.png nested"`);
11
12
const lsNested = await webcontainer.runCommand("ls", ["nested"]);
13
expect(lsNested).toMatchInlineSnapshot(`"file-2.ts"`);
0 commit comments