@@ -44,8 +44,7 @@ describe('eleventy-plugin-mdjs-unified', () => {
4444 const files = await renderEleventy ( './test-node/fixtures/md' ) ;
4545 expect ( files ) . to . deep . equal ( [
4646 {
47- html :
48- '<h1 id="first"><a aria-hidden="true" tabindex="-1" href="#first"><span class="icon icon-link"></span></a>First</h1>' ,
47+ html : '<h1 id="first"><a aria-hidden="true" tabindex="-1" href="#first"><span class="icon icon-link"></span></a>First</h1>' ,
4948 name : 'first/index.html' ,
5049 } ,
5150 ] ) ;
@@ -65,8 +64,7 @@ describe('eleventy-plugin-mdjs-unified', () => {
6564 const files = await renderEleventy ( './test-node/fixtures/mdjs-import' ) ;
6665 expect ( files ) . to . deep . equal ( [
6766 {
68- html :
69- '<p>first</p>\n <script type="module" src="/first/__mdjs-stories.js" mdjs-setup></script>\n ' ,
67+ html : '<p>first</p>\n <script type="module" src="/first/__mdjs-stories.js" mdjs-setup></script>\n ' ,
7068 name : 'first/index.html' ,
7169 } ,
7270 ] ) ;
@@ -76,8 +74,7 @@ describe('eleventy-plugin-mdjs-unified', () => {
7674 const files = await renderEleventy ( './test-node/fixtures/mdjs-import-in-subpage' ) ;
7775 expect ( files ) . to . deep . equal ( [
7876 {
79- html :
80- '<p>first</p>\n <script type="module" src="/subpage/first/__mdjs-stories.js" mdjs-setup></script>\n ' ,
77+ html : '<p>first</p>\n <script type="module" src="/subpage/first/__mdjs-stories.js" mdjs-setup></script>\n ' ,
8178 name : 'subpage/first/index.html' ,
8279 } ,
8380 ] ) ;
@@ -87,8 +84,7 @@ describe('eleventy-plugin-mdjs-unified', () => {
8784 const files = await renderEleventy ( './test-node/fixtures/mdjs-import-index' ) ;
8885 expect ( files ) . to . deep . equal ( [
8986 {
90- html :
91- '<p>index</p>\n <script type="module" src="/__mdjs-stories.js" mdjs-setup></script>\n ' ,
87+ html : '<p>index</p>\n <script type="module" src="/__mdjs-stories.js" mdjs-setup></script>\n ' ,
9288 name : 'index.html' ,
9389 } ,
9490 ] ) ;
@@ -98,8 +94,7 @@ describe('eleventy-plugin-mdjs-unified', () => {
9894 const files = await renderEleventy ( './test-node/fixtures/plugin-configure' ) ;
9995 expect ( files ) . to . deep . equal ( [
10096 {
101- html :
102- '<h1 id="first"><a class="anchor" href="#first"><span class="icon icon-link"></span></a>First</h1>' ,
97+ html : '<h1 id="first"><a class="anchor" href="#first"><span class="icon icon-link"></span></a>First</h1>' ,
10398 name : 'first/index.html' ,
10499 } ,
105100 ] ) ;
0 commit comments