@@ -228,9 +228,7 @@ describe('render', function () {
228228 test ( 'regular' , async function ( ) {
229229 const output = window . marked ( '[alt text](http://url)' ) ;
230230
231- expect ( output ) . toMatchInlineSnapshot (
232- '"<p><a href="http://url" target="_blank" rel="noopener">alt text</a></p>"' ,
233- ) ;
231+ expect ( output ) . toMatchInlineSnapshot ( `"<p><a href="http://url" target="_blank" rel="noopener">alt text</a></p>"` ) ;
234232 } ) ;
235233
236234 test ( 'linkrel' , async function ( ) {
@@ -240,25 +238,19 @@ describe('render', function () {
240238 // });
241239 const output = window . marked ( '[alt text](http://www.example.com)' ) ;
242240
243- expect ( output ) . toMatchInlineSnapshot (
244- '"<p><a href="http://www.example.com" target="_blank" rel="noopener">alt text</a></p>"' ,
245- ) ;
241+ expect ( output ) . toMatchInlineSnapshot ( `"<p><a href="http://www.example.com" target="_blank" rel="noopener">alt text</a></p>"` ) ;
246242 } ) ;
247243
248244 test ( 'disabled' , async function ( ) {
249245 const output = window . marked ( "[alt text](http://url ':disabled')" ) ;
250246
251- expect ( output ) . toMatchInlineSnapshot (
252- '"<p><a href="javascript:void(0)" target="_blank" rel="noopener" disabled>alt text</a></p>"' ,
253- ) ;
247+ expect ( output ) . toMatchInlineSnapshot ( `"<p><a href="javascript:void(0)" target="_blank" rel="noopener" disabled>alt text</a></p>"` ) ;
254248 } ) ;
255249
256250 test ( 'target for absolute path' , async function ( ) {
257251 const output = window . marked ( "[alt text](http://url ':target=_self')" ) ;
258252
259- expect ( output ) . toMatchInlineSnapshot (
260- '"<p><a href="http://url" target="_self" >alt text</a></p>"' ,
261- ) ;
253+ expect ( output ) . toMatchInlineSnapshot ( `"<p><a href="http://url" target="_self">alt text</a></p>"` ) ;
262254 } ) ;
263255
264256 test ( 'target for relative path' , async function ( ) {
@@ -274,27 +266,21 @@ describe('render', function () {
274266 "[alt text](http://url ':class=someCssClass')" ,
275267 ) ;
276268
277- expect ( output ) . toMatchInlineSnapshot (
278- '"<p><a href="http://url" target="_blank" rel="noopener" class="someCssClass">alt text</a></p>"' ,
279- ) ;
269+ expect ( output ) . toMatchInlineSnapshot ( `"<p><a href="http://url" target="_blank" rel="noopener" class="someCssClass">alt text</a></p>"` ) ;
280270 } ) ;
281271
282272 test ( 'multi class config' , async function ( ) {
283273 const output = window . marked (
284274 "[alt text](http://url ':class=someCssClass :class=anotherCssClass')" ,
285275 ) ;
286276
287- expect ( output ) . toMatchInlineSnapshot (
288- `"<p><a href="http://url" target="_blank" rel="noopener" class="someCssClass anotherCssClass">alt text</a></p>"` ,
289- ) ;
277+ expect ( output ) . toMatchInlineSnapshot ( `"<p><a href="http://url" target="_blank" rel="noopener" class="someCssClass anotherCssClass">alt text</a></p>"` ) ;
290278 } ) ;
291279
292280 test ( 'id' , async function ( ) {
293281 const output = window . marked ( "[alt text](http://url ':id=someCssID')" ) ;
294282
295- expect ( output ) . toMatchInlineSnapshot (
296- '"<p><a href="http://url" target="_blank" rel="noopener" id="someCssID">alt text</a></p>"' ,
297- ) ;
283+ expect ( output ) . toMatchInlineSnapshot ( `"<p><a href="http://url" target="_blank" rel="noopener" id="someCssID">alt text</a></p>"` ) ;
298284 } ) ;
299285 } ) ;
300286
0 commit comments