Skip to content

Commit 9c62bb6

Browse files
committed
fix
1 parent 2f051cd commit 9c62bb6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/rrweb-snapshot/test/integration.test.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,14 @@ describe('integration tests', function (this: ISuite) {
141141
assert(
142142
outerCompatMode === 'CSS1Compat',
143143
outerCompatMode +
144-
' for outer iframe.html should be CSS1Compat as it has "<!DOCTYPE html>"',
144+
' for outer iframe.html should be CSS1Compat as it has "<!DOCTYPE html>"',
145145
);
146146
// inner omits a doctype so gets rendered in backwards compat mode
147147
// although this was originally accidental, we'll add a synthetic doctype to the rebuild to recreate this
148148
assert(
149149
innerCompatMode === 'BackCompat',
150150
innerCompatMode +
151-
' for iframe-inner.html should be BackCompat as it lacks "<!DOCTYPE html>"',
151+
' for iframe-inner.html should be BackCompat as it lacks "<!DOCTYPE html>"',
152152
);
153153
} else {
154154
// loading indirectly is improtant for relative path testing
@@ -192,7 +192,7 @@ describe('integration tests', function (this: ISuite) {
192192
assert(
193193
compatMode === 'BackCompat',
194194
compatMode +
195-
' for compat-mode.html should be BackCompat as DOCTYPE is deliberately omitted',
195+
' for compat-mode.html should be BackCompat as DOCTYPE is deliberately omitted',
196196
);
197197
const renderedHeight = (await page.evaluate(
198198
'document.querySelector("center").clientHeight',
@@ -219,7 +219,7 @@ iframe.contentDocument.querySelector('center').clientHeight
219219
assert(
220220
rebuildCompatMode === 'BackCompat',
221221
"rebuilt compatMode should match source compatMode, but doesn't: " +
222-
rebuildCompatMode,
222+
rebuildCompatMode,
223223
);
224224
assert(
225225
rebuildRenderedHeight === renderedHeight,
@@ -266,8 +266,8 @@ iframe.contentDocument.querySelector('center').clientHeight
266266
<html xmlns="http://www.w3.org/1999/xhtml">
267267
<body>
268268
<img src="${getServerURL(
269-
server,
270-
)}/images/rrweb-favicon-20x20.png" alt="CORS restricted but has access-control-allow-origin: *" />
269+
server,
270+
)}/images/rrweb-favicon-20x20.png" alt="CORS restricted but has access-control-allow-origin: *" />
271271
</body>
272272
</html>
273273
`,

0 commit comments

Comments
 (0)