@@ -16,8 +16,8 @@ test("transform fenced into vue-live with live flag", () => {
1616 }
1717 expect ( String ( file ) ) . toMatchInlineSnapshot ( `
1818 "<vue-live
19- :layoutProps =\\"{lang:'vue'}\\"
20- :code=\\"\`< comp/> \`\\" />
19+ :layout-props =\\"{lang:'vue'}\\"
20+ :code=\\"\`< comp/> \`\\" />
2121 "
2222 ` ) ;
2323 }
@@ -62,8 +62,8 @@ test("transform custom fenced into vue-live", () => {
6262 }
6363 expect ( String ( file ) ) . toMatchInlineSnapshot ( `
6464 "<vue-live
65- :layoutProps =\\"{lang:'pizza'}\\"
66- :code=\\"\`< comp/> \`\\" />
65+ :layout-props =\\"{lang:'pizza'}\\"
66+ :code=\\"\`< comp/> \`\\" />
6767 "
6868 ` ) ;
6969 }
@@ -87,11 +87,11 @@ const a = require('test/req')
8787 }
8888 expect ( String ( file ) ) . toMatchInlineSnapshot ( `
8989 "<vue-live
90- :layoutProps =\\"{lang:'js'}\\"
90+ :layout-props =\\"{lang:'js'}\\"
9191 :requires=\\"{'test/import': require('test/import'),'test/req': require('test/req')}\\"
9292 :code=\\"\`import b from 'test/import'
9393 const a = require('test/req')
94- < comp/> \`\\" />
94+ < comp/> \`\\" />
9595 "
9696 ` ) ;
9797 }
@@ -113,9 +113,9 @@ test("transform require and import statements", () => {
113113 }
114114 expect ( String ( file ) ) . toMatchInlineSnapshot ( `
115115 "<vue-live
116- :layoutProps =\\"{lang:'js'}\\"
117- :code=\\"\`< comp/> \`\\"
118- :editorProps =\\"{"lineNumbers": true}\\" />
116+ :layout-props =\\"{lang:'js'}\\"
117+ :code=\\"\`< comp/> \`\\"
118+ :editor-props =\\"{"lineNumbers": true}\\" />
119119 "
120120 ` ) ;
121121 }
0 commit comments