This repository was archived by the owner on Jun 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -161,13 +161,13 @@ Fix the error in your code and re-run your tests.
161161
162162 Spec Tests Passing Failing Pending Skipped
163163 ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
164- │ ✖ compile-error.spec.js ***ms - - 1 - - │
164+ │ ✖ compile-error.spec.js ***ms - - 1 - - │
165165 ├────────────────────────────────────────────────────────────────────────────────────────────────┤
166166 │ ✖ fail.spec.js ***ms 1 - 1 - - │
167167 ├────────────────────────────────────────────────────────────────────────────────────────────────┤
168- │ ✖ pass.spec.js ***ms 1 - 1 - - │
168+ │ ✖ pass.spec.js ***ms 1 - 1 - - │
169169 ├────────────────────────────────────────────────────────────────────────────────────────────────┤
170- │ ✖ runtime-error.spec.js ***ms 1 - 1 - - │
170+ │ ✖ runtime-error.spec.js ***ms 1 - 1 - - │
171171 └────────────────────────────────────────────────────────────────────────────────────────────────┘
172172 ✖ 4 of 4 failed (100%) ***ms 3 - 4 - -
173173
Original file line number Diff line number Diff line change @@ -20,8 +20,12 @@ describe('cypress - e2e', async () => {
2020
2121function sanitizeOutput ( output : string ) : string {
2222 return output
23- . replace ( / \d + m s / g, '***ms' )
2423 . replace ( / l o c a l h o s t : \d + / g, 'localhost:****' )
25- . replace ( / C y p r e s s : { 4 } \d + .\d + .\d + / g, 'Cypress: *.*.*' )
26- . replace ( / B r o w s e r : { 4 } E l e c t r o n \d + / g, 'Browser: Electron **' )
24+ . replace ( / C y p r e s s : \d + .\d + .\d + .+ / g, 'Cypress: *.*.* │' )
25+ . replace ( / B r o w s e r : + E l e c t r o n \d + .+ / g, 'Browser: Electron ** (headless) │' )
26+ . replace ( / c o m p i l e - e r r o r .s p e c .j s .+ m s / , 'compile-error.spec.js ***ms' . trim ( ) )
27+ . replace ( / f a i l .s p e c .j s .+ m s / , ' fail.spec.js ***ms' . trim ( ) )
28+ . replace ( / p a s s .s p e c .j s .+ m s / , ' pass.spec.js ***ms' . trim ( ) )
29+ . replace ( / r u n t i m e - e r r o r .s p e c .j s .+ m s / , 'runtime-error.spec.js ***ms' . trim ( ) )
30+ . replace ( / \d + m s / g, '***ms' )
2731}
You can’t perform that action at this time.
0 commit comments