Skip to content

Commit

Permalink
Update playwright to output integration results in addition to the ht…
Browse files Browse the repository at this point in the history
…ml report.
  • Loading branch information
srpiatt committed Feb 13, 2024
1 parent f638e5c commit f68264e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"test:integration": "playwright test --reporter=html",
"test:integration": "playwright test",
"test:unit": "vitest"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const config: PlaywrightTestConfig = {
port: 4173
},
testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/
testMatch: /(.+\.)?(test|spec)\.[jt]s/,
reporter: [['list'], ['html']]
};

export default config;

0 comments on commit f68264e

Please sign in to comment.