We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
assertSnapshot
1 parent 18800da commit bdddc04Copy full SHA for bdddc04
test/common/assertSnapshot.js
@@ -25,7 +25,7 @@ function replaceWindowsPaths(str) {
25
}
26
27
function replaceFullPaths(str) {
28
- return str.replaceAll(path.resolve(__dirname, '../..'), '');
+ return str.replaceAll('\\\'', "'").replaceAll(path.resolve(__dirname, '../..'), '');
29
30
31
function transform(...args) {
0 commit comments