quality of life
This commit is contained in:
parent
ee5a53aba8
commit
85847d172c
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
|
src/assets/emoji.json
|
||||||
logs/
|
logs/
|
||||||
__screenshots__/
|
__screenshots__/
|
||||||
|
.vitest-attachments/
|
||||||
|
html/
|
||||||
|
coverage/
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
"build": "node build/update-emoji.js && vite build",
|
"build": "node build/update-emoji.js && vite build",
|
||||||
"unit": "node build/update-emoji.js && vitest --run --coverage",
|
"unit": "node build/update-emoji.js && vitest --run --coverage",
|
||||||
"unit-ci": "node build/update-emoji.js && vitest --run --coverage --browser.headless",
|
"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:pw": "playwright test --config test/e2e-playwright/playwright.config.mjs",
|
||||||
"e2e": "sh ./tools/e2e/run.sh",
|
"e2e": "sh ./tools/e2e/run.sh",
|
||||||
"test": "yarn run unit && yarn run e2e",
|
"test": "yarn run unit && yarn run e2e",
|
||||||
|
|
|
||||||
|
|
@ -247,7 +247,7 @@ export default defineConfig(async ({ mode, command }) => {
|
||||||
},
|
},
|
||||||
browser: {
|
browser: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
headless: true,
|
headless: false,
|
||||||
provider: playwright(),
|
provider: playwright(),
|
||||||
// https://github.com/mswjs/msw/issues/2757
|
// https://github.com/mswjs/msw/issues/2757
|
||||||
instances: [{ browser: 'chromium' }],
|
instances: [{ browser: 'chromium' }],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue