We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d0a8f commit 860045cCopy full SHA for 860045c
scripts/jestPerTestSetup.ts
@@ -25,7 +25,7 @@ beforeAll(async () => {
25
page.on('console', onConsole)
26
27
const testPath = expect.getState().testPath
28
- const testName = slash(testPath).match(/playground\/(\w+)\//)?.[1]
+ const testName = slash(testPath).match(/playground\/([\w-]+)\//)?.[1]
29
30
// if this is a test placed under playground/xxx/__tests__
31
// start a vite server in that directory.
0 commit comments