diff --git a/test/common/assertSnapshot.js b/test/common/assertSnapshot.js index e0793ce5394..dbd4a607986 100644 --- a/test/common/assertSnapshot.js +++ b/test/common/assertSnapshot.js @@ -25,7 +25,7 @@ function replaceWindowsPaths(str) { } function replaceFullPaths(str) { - return str.replaceAll(path.resolve(__dirname, '../..'), ''); + return str.replaceAll('\\\'', "'").replaceAll(path.resolve(__dirname, '../..'), ''); } function transform(...args) {