Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Unify web test command semantics

Manav Rathi73b55592d858
diff --git a/.github/workflows/web-lint.yml b/.github/workflows/web-lint.yml
index 755cac05f3..89c3788889 100644
--- a/.github/workflows/web-lint.yml
+++ b/.github/workflows/web-lint.yml
@@ -46,7 +46,7 @@ jobs:
- run: yarn lint
- - run: yarn test:run
+ - run: yarn test
- name: Audit dependencies
run: |
diff --git a/web/package.json b/web/package.json
index b73b6b2eca..8cef02186b 100644
--- a/web/package.json
+++ b/web/package.json
@@ -38,8 +38,7 @@
"dev:twoof3": "yarn workspace twoof3 next dev -p 3009",
"lint": "concurrently --names 'prettier,eslint,tsc' \"yarn prettier --check --log-level warn .\" \"yarn workspaces run eslint\" \"yarn workspaces run tsc\"",
"lint-fix": "concurrently --names 'prettier,eslint,tsc' \"yarn prettier --write --log-level warn .\" \"yarn workspaces run eslint --fix\" \"yarn workspaces run tsc\"",
- "test": "yarn workspace ente-wasm test",
- "test:run": "yarn workspace ente-wasm test run"
+ "test": "yarn workspace ente-wasm test && yarn workspace ente-contacts-web test"
},
"resolutions": {
"@types/react": "^19.2.2",
diff --git a/web/packages/contacts/package.json b/web/packages/contacts/package.json
index 685c2bcc73..2ffa557a50 100644
--- a/web/packages/contacts/package.json
+++ b/web/packages/contacts/package.json
@@ -5,7 +5,7 @@
"main": "./index.ts",
"types": "./index.ts",
"scripts": {
- "test": "vitest"
+ "test": "vitest --run"
},
"dependencies": {
"ente-base": "*",
diff --git a/web/packages/wasm/package.json b/web/packages/wasm/package.json
index b0ead6c573..37839fbd7f 100644
--- a/web/packages/wasm/package.json
+++ b/web/packages/wasm/package.json
@@ -16,7 +16,7 @@
"types": "./pkg/ente_wasm.d.ts",
"scripts": {
"build": "wasm-pack build --target bundler",
- "test": "vitest"
+ "test": "vitest --run"
},
"devDependencies": {
"ente-build-config": "*",