Skip to content

Commit 4234b9c

Browse files
committed
fix(tests): remove extra spaces in inline snapshots
1 parent df10fe9 commit 4234b9c

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

test/integration/render.test.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Text</p></blockquote>
284284
const output = window.marked('[alt text](http://url)');
285285

286286
expect(output).toMatchInlineSnapshot(
287-
`"<p><a href="http://url" target="_blank" rel="noopener">alt text</a></p>"`,
287+
`"<p><a href="http://url" target="_blank" rel="noopener">alt text</a></p>"`,
288288
);
289289
});
290290

@@ -296,23 +296,23 @@ Text</p></blockquote>
296296
const output = window.marked('[alt text](http://www.example.com)');
297297

298298
expect(output).toMatchInlineSnapshot(
299-
`"<p><a href="http://www.example.com" target="_blank" rel="noopener">alt text</a></p>"`,
299+
`"<p><a href="http://www.example.com" target="_blank" rel="noopener">alt text</a></p>"`,
300300
);
301301
});
302302

303303
test('disabled', async function () {
304304
const output = window.marked("[alt text](http://url ':disabled')");
305305

306306
expect(output).toMatchInlineSnapshot(
307-
`"<p><a href="javascript:void(0)" target="_blank" rel="noopener" disabled>alt text</a></p>"`,
307+
`"<p><a href="javascript:void(0)" target="_blank" rel="noopener" disabled>alt text</a></p>"`,
308308
);
309309
});
310310

311311
test('target for absolute path', async function () {
312312
const output = window.marked("[alt text](http://url ':target=_self')");
313313

314314
expect(output).toMatchInlineSnapshot(
315-
`"<p><a href="http://url" target="_self" >alt text</a></p>"`,
315+
`"<p><a href="http://url" target="_self">alt text</a></p>"`,
316316
);
317317
});
318318

@@ -330,7 +330,7 @@ Text</p></blockquote>
330330
);
331331

332332
expect(output).toMatchInlineSnapshot(
333-
`"<p><a href="http://url" target="_blank" rel="noopener" class="someCssClass">alt text</a></p>"`,
333+
`"<p><a href="http://url" target="_blank" rel="noopener" class="someCssClass">alt text</a></p>"`,
334334
);
335335
});
336336

@@ -340,15 +340,15 @@ Text</p></blockquote>
340340
);
341341

342342
expect(output).toMatchInlineSnapshot(
343-
`"<p><a href="http://url" target="_blank" rel="noopener" class="someCssClass anotherCssClass">alt text</a></p>"`,
343+
`"<p><a href="http://url" target="_blank" rel="noopener" class="someCssClass anotherCssClass">alt text</a></p>"`,
344344
);
345345
});
346346

347347
test('id', async function () {
348348
const output = window.marked("[alt text](http://url ':id=someCssID')");
349349

350350
expect(output).toMatchInlineSnapshot(
351-
`"<p><a href="http://url" target="_blank" rel="noopener" id="someCssID">alt text</a></p>"`,
351+
`"<p><a href="http://url" target="_blank" rel="noopener" id="someCssID">alt text</a></p>"`,
352352
);
353353
});
354354
});

0 commit comments

Comments
 (0)