pull/12755/head
Rich Harris 2 years ago
parent db804fb513
commit 548ac5ad6d

@ -115,7 +115,7 @@ const { test, run } = suite<HydrationTest>(async (config, cwd) => {
flushSync();
const normalize = (string: string) => string.trim().replace(/\n\r/g, '\n');
const normalize = (string: string) => string.trim().replace(/\r\n/g, '\n');
const expected = read(`${cwd}/_expected.html`) ?? rendered.html;
assert.equal(normalize(target.innerHTML), normalize(expected));

Loading…
Cancel
Save