Merge branch 'coverage' into chat-refactor

This commit is contained in:
Henry Jameson 2026-07-31 16:45:18 +03:00
commit 0eea50aa83
3 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View file

@ -13,3 +13,6 @@ config/local.json
src/assets/emoji.json
logs/
__screenshots__/
.vitest-attachments/
html/
coverage/

View file

@ -9,7 +9,7 @@
"build": "node build/update-emoji.js && vite build",
"unit": "node build/update-emoji.js && vitest --run --coverage",
"unit-ci": "node build/update-emoji.js && vitest --run --coverage --browser.headless",
"unit:watch": "node build/update-emoji.js && vitest",
"unit:watch": "node build/update-emoji.js && vitest --coverage",
"e2e:pw": "playwright test --config test/e2e-playwright/playwright.config.mjs",
"e2e": "sh ./tools/e2e/run.sh",
"test": "yarn run unit && yarn run e2e",

View file

@ -247,7 +247,7 @@ export default defineConfig(async ({ mode, command }) => {
},
browser: {
enabled: true,
headless: true,
headless: false,
provider: playwright(),
// https://github.com/mswjs/msw/issues/2757
instances: [{ browser: 'chromium' }],