Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

Commit e7b510a

Browse files
committed
test: fix cypress version sanitization
1 parent 6747387 commit e7b510a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/cypress.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('cypress - e2e', async () => {
2121
function sanitizeOutput (output: string): string {
2222
return output
2323
.replace(/localhost:\d+/g, 'localhost:****')
24-
.replace(/Cypress: \d+.\d+.\d+.+/g, 'Cypress: *.*.* │')
24+
.replace(/Cypress: +\d+.\d+.\d+.+/g, 'Cypress: *.*.* │')
2525
.replace(/Browser: +Electron \d+.+/g, 'Browser: Electron ** (headless) │')
2626
.replace(/compile-error.spec.js .+ms/, 'compile-error.spec.js ***ms'.trim())
2727
.replace(/fail.spec.js .+ms/, ' fail.spec.js ***ms'.trim())

0 commit comments

Comments
 (0)