Skip to content

Commit dbb448a

Browse files
committed
test: change module.json handling
1 parent a099729 commit dbb448a

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

e2e_tests/tests_omni_full/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
"version": "0.0.0",
55
"type": "module",
66
"scripts": {
7-
"test": "playwright test",
8-
"test:headed": "playwright test --headed",
9-
"test:ui": "playwright test --ui",
7+
"prepare": "ln -sf modules_with_backend.json ../../frontend_omni/public/modules.json",
8+
"test": "pnpm prepare && playwright test",
9+
"test:headed": "pnpm prepare && playwright test --headed",
10+
"test:ui": "pnpm prepare && playwright test --ui",
1011
"check": "biome check",
1112
"check:write": "biome check --write"
1213
},

e2e_tests/tests_omni_light/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
"version": "0.0.0",
55
"type": "module",
66
"scripts": {
7-
"test": "playwright test",
8-
"test:headed": "playwright test --headed",
9-
"test:ui": "playwright test --ui",
7+
"prepare": "ln -sf modules_browser_only.json ../../frontend_omni/public/modules.json",
8+
"test": "pnpm prepare && playwright test",
9+
"test:headed": "pnpm prepare && playwright test --headed",
10+
"test:ui": "pnpm prepare && playwright test --ui",
1011
"check": "biome check",
1112
"check:write": "biome check --write"
1213
},

frontend_omni/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8-
"build": "ln -sf ${MODULES_JSON_NAME:-modules_with_backend.json} public/modules.json && tsc -b && vite build",
8+
"build": "tsc -b && vite build",
99
"check": "biome check",
1010
"check:write": "biome check --write",
1111
"preview": "vite preview",

0 commit comments

Comments
 (0)