remove version and Mocha check from snapshot

This commit is contained in:
Gleb Bahmutov
2017-10-05 11:16:53 -04:00
parent 5aace6d9dc
commit 2cbe0575af
2 changed files with 5 additions and 2 deletions

View File

@@ -7,6 +7,9 @@ function normalize (s) {
// using forward slashes
return s.replace(process.cwd(), '<folder path>')
.replace(/passing \(\d+ms\)/, 'passing (<time>ms)')
.replace(/cypress@(\d+\.\d+\.\d+)/, 'cypress@x.y.z')
.replace(/✓/g, 'Y') // Mocha check on Mac
.replace(/√/g, 'Y') // Mocha check on Windows
}
/* eslint-env mocha */