Skip to content

Commit 17c4dd8

Browse files
committed
fix(test): exact match the npx command
1 parent d1a916b commit 17c4dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/create-command.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ test.describe('Create Command', () => {
197197

198198
// Verify clipboard content contains the run command
199199
const clipboardContent = await page.evaluate(() => navigator.clipboard.readText())
200-
expect(clipboardContent).toMatch(/vite|npx vite/i)
200+
expect(clipboardContent).toMatch(/npx vite/i)
201201

202202
await expect(copyButton).toContainText(/copy/i, { timeout: 5000 })
203203
await expect(copyButton).not.toContainText(/copied/i)

0 commit comments

Comments
 (0)