1 parent 62be517 commit 3653421Copy full SHA for 3653421
1 file changed
scripts/create-tauri-ui-test-lib.mjs
@@ -94,7 +94,7 @@ async function assertPathExists(targetPath, message) {
94
}
95
96
async function readText(targetPath) {
97
- return fs.readFile(targetPath, "utf8");
+ return (await fs.readFile(targetPath, "utf8")).replace(/\r\n/g, "\n");
98
99
100
async function assertTextIncludes(targetPath, expected, message) {
0 commit comments