diff --git a/.github/workflows/compile-and-test.yml b/.github/workflows/compile-and-test.yml index ff2727b0..2bbbcb1e 100644 --- a/.github/workflows/compile-and-test.yml +++ b/.github/workflows/compile-and-test.yml @@ -25,5 +25,5 @@ jobs: - name: Compile code run: npm run build -# - name: Run tests -# run: npm run test + - name: Run tests + run: npm run test diff --git a/package.json b/package.json index 828e9a4d..169d2dcb 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "build:electron": "MODE=electronbuild vite build && npm run docs:build && mkdir -p dist/docs && cp -r docs/.vitepress/dist/* dist/docs/ && mkdir -p build && cp src/assets/picto-black.png build/icon.png && cp src/assets/picto-black.icns build/icon.icns && electron-builder -wl && rm -rf build", "build:electron-mac": "MODE=electronbuild vite build && npm run docs:build && mkdir -p dist/docs && cp -r docs/.vitepress/dist/* dist/docs/ && mkdir -p build && cp src/assets/picto-black.png build/icon.png && cp src/assets/picto-black.icns build/icon.icns && electron-builder -m && rm -rf build", "serve": "vite preview", - "test": "vitest", + "test": "vitest run", + "test:watch": "vitest", "typesafe-i18n": "typesafe-i18n", "docs:build": "cd docs && npm run build && cd ..", "postinstall": "electron-builder install-app-deps && cd docs && npm install && cd .."