Skip to content

Commit 0fcb624

Browse files
authored
chore(dev-deps): update playwright (#12)
1 parent 57cc0c6 commit 0fcb624

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@types/node": "^22.14.0",
5757
"@vitest/browser": "^3.1.1",
5858
"eslint": "^9.24.0",
59-
"playwright": "1.49.0",
59+
"playwright": "^1.52.0",
6060
"prettier": "^3.5.3",
6161
"tsup": "^8.4.0",
6262
"typescript": "^5.8.3",

pnpm-lock.yaml

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/run-command.test.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ import { expect } from "vitest";
22

33
import { test } from "../src";
44

5-
test("user can run commands inside webcontainer", async ({ webcontainer }) => {
6-
const output = await webcontainer.runCommand("node", ["--version"]);
7-
8-
expect(output).toContain("v20");
9-
});
5+
test(
6+
"user can run commands inside webcontainer",
7+
{ retry: 3 },
8+
async ({ webcontainer }) => {
9+
const output = await webcontainer.runCommand("node", ["--version"]);
10+
11+
expect(output).toContain("v20");
12+
},
13+
);
1014

1115
test("user can run interactive commands inside webcontainer", async ({
1216
webcontainer,

0 commit comments

Comments
 (0)