Skip to content

Commit 9e969bb

Browse files
committed
#284 fix playwright locally
1 parent 1e85e80 commit 9e969bb

File tree

4 files changed

+14
-1241
lines changed

4 files changed

+14
-1241
lines changed

data-browser/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"yamde": "^1.7.1"
3333
},
3434
"devDependencies": {
35-
"@playwright/test": "^1.26.0",
3635
"@types/react": "^18.0.10",
3736
"@types/react-dom": "^18.0.5",
3837
"@types/react-router-dom": "^5.0.0",
@@ -69,9 +68,8 @@
6968
"test": "playwright test --config=./tests/playwright.config.ts",
7069
"test-debug": "PWDEBUG=1 playwright test",
7170
"test-new": "playwright codegen http://localhost:5173",
72-
"test-query": "PWDEBUG=1 npx playwright test \"e2e.spec.ts\" -g",
71+
"test-query": "PWDEBUG=1 playwright test \"e2e.spec.ts\" -g",
7372
"typecheck": "tsc --noEmit"
7473
},
75-
"type": "module",
7674
"version": "0.34.0"
7775
}

data-browser/src/components/HotKeyWrapper.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export function displayShortcut(shortcut: string): string {
6262
}
6363

6464
/** App-wide keyboard events handler. */
65-
// Keep changes in sync with ShortcutsRoute.tsx
6665
function HotKeysWrapper({ children }: Props): JSX.Element {
6766
const navigate = useNavigate();
6867
const [subject] = useCurrentSubject();

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
"@typescript-eslint/eslint-plugin": "^5.9.0",
1212
"@typescript-eslint/parser": "^5.9.0",
1313
"@vitejs/plugin-react": "^1.3.0",
14-
"@web/test-runner": "^0.14.0",
15-
"@web/test-runner-playwright": "^0.8.10",
1614
"chai": "^4.3.4",
1715
"eslint": "8.23.0",
1816
"eslint-config-prettier": "^8.3.0",
@@ -22,7 +20,6 @@
2220
"eslint-plugin-react-hooks": "^4.3.0",
2321
"husky": "^7.0.4",
2422
"jest": "^29.0.2",
25-
"playwright": "^1.26.0",
2623
"prettier": "2.4.1",
2724
"prettier-plugin-jsdoc": "^0.3.24",
2825
"react": "^18.2.0",
@@ -34,6 +31,7 @@
3431
},
3532
"name": "@tomic/root",
3633
"private": true,
34+
"type": "module",
3735
"scripts": {
3836
"lint": "pnpm run -r lint",
3937
"lint-fix": "pnpm run -r lint-fix",

0 commit comments

Comments
 (0)