@@ -6,22 +6,6 @@ test("user can mount directories from file-system to webcontainer", async ({
66} ) => {
77 await webcontainer . mount ( "test/fixtures/mount-example" ) ;
88
9- const ls = await webcontainer . runCommand ( "ls" ) ;
10- 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"` ) ;
14-
15- const catFile = await webcontainer . runCommand ( "cat" , [ "file-1.ts" ] ) ;
16- expect ( catFile ) . toMatchInlineSnapshot ( `"export default "Hello world";"` ) ;
17-
18- const catNestedFile = await webcontainer . runCommand ( "cat" , [
19- "nested/file-2.ts" ,
20- ] ) ;
21- expect ( catNestedFile ) . toMatchInlineSnapshot (
22- `"export default "Hello from nested file";"` ,
23- ) ;
24-
259 const pngFile = await webcontainer . runCommand ( "xxd" , [ "image.png" ] ) ;
2610 expect ( pngFile ) . toMatchInlineSnapshot ( `
2711 "00000000: 8950 4e47 0d0a 1a0a 0000 000d 4948 4452 .PNG........IHDR
@@ -35,7 +19,7 @@ test("user can mount directories from file-system to webcontainer", async ({
3519 ` ) ;
3620} ) ;
3721
38- test ( "user can mount inlined FileSystemTree to webcontainer" , async ( {
22+ test . skip ( "user can mount inlined FileSystemTree to webcontainer" , async ( {
3923 webcontainer,
4024} ) => {
4125 await webcontainer . mount ( {
@@ -68,7 +52,7 @@ test("user can mount inlined FileSystemTree to webcontainer", async ({
6852 ) ;
6953} ) ;
7054
71- test ( "user should see error when attemping to mount files outside project root" , async ( {
55+ test . skip ( "user should see error when attemping to mount files outside project root" , async ( {
7256 webcontainer,
7357} ) => {
7458 await expect ( ( ) => webcontainer . mount ( "/home/non-existing" ) ) . rejects
0 commit comments