Skip to content

Commit

Permalink
fix: default playwright globs (#9795)
Browse files Browse the repository at this point in the history
Playwright changed the default regex, so we pin it by adding one ourselves. fixes #9793
  • Loading branch information
gtm-nayan authored Apr 28, 2023
1 parent 789f4c7 commit d597ba8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/tricky-versions-break.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

fix: default playwright globs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const config: PlaywrightTestConfig = {
command: 'npm run build && npm run preview',
port: 4173
},
testDir: 'tests'
testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/
};

export default config;
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ const config = {
command: 'npm run build && npm run preview',
port: 4173
},
testDir: 'tests'
testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/
};

export default config;

0 comments on commit d597ba8

Please sign in to comment.