Merge branch 'coverage' into chat-refactor
This commit is contained in:
commit
0eea50aa83
3 changed files with 5 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -13,3 +13,6 @@ config/local.json
|
|||
src/assets/emoji.json
|
||||
logs/
|
||||
__screenshots__/
|
||||
.vitest-attachments/
|
||||
html/
|
||||
coverage/
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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' }],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue