@@ -16,7 +16,8 @@ function replaceSpecDuration(str) {
1616 . replaceAll ( / [ 0 - 9 . ] + m s / g, '*ms' )
1717 . replaceAll ( / d u r a t i o n _ m s [ 0 - 9 . ] + / g, 'duration_ms *' ) ;
1818}
19- const defaultTransform = snapshot . transform ( snapshot . replaceStackTrace , replaceTestDuration ) ;
19+ const defaultTransform = snapshot
20+ . transform ( snapshot . replaceWindowsLineEndings , snapshot . replaceStackTrace , replaceTestDuration ) ;
2021
2122
2223const tests = [
@@ -31,11 +32,11 @@ const tests = [
3132 { name : 'test-runner/output/dot_reporter.js' } ,
3233 {
3334 name : 'test-runner/output/spec_reporter_successful.js' ,
34- transform : snapshot . transform ( snapshot . replaceStackTrace , replaceSpecDuration )
35+ transform : snapshot . transform ( snapshot . replaceWindowsLineEndings , snapshot . replaceStackTrace , replaceSpecDuration )
3536 } ,
3637 {
3738 name : 'test-runner/output/spec_reporter.js' ,
38- transform : snapshot . transform ( snapshot . replaceStackTrace , replaceSpecDuration )
39+ transform : snapshot . transform ( snapshot . replaceWindowsLineEndings , snapshot . replaceStackTrace , replaceSpecDuration )
3940 } ,
4041 { name : 'test-runner/output/output.js' } ,
4142 { name : 'test-runner/output/output_cli.js' } ,
0 commit comments