jsfmt.spec.js.snap 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`hello-world.html 1`] = `
  3. <!DOCTYPE html>
  4. <html lang="en">
  5. <head>
  6. <meta charset="UTF-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  9. <title>Document</title>
  10. </head>
  11. <body>
  12. <!-- A comment -->
  13. <h1>Hello World</h1>
  14. </body>
  15. </html>
  16. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  17. <!DOCTYPE html>
  18. <html lang="en">
  19. <head>
  20. <meta charset="UTF-8">
  21. <meta name="viewport"
  22. content="width=device-width, initial-scale=1.0">
  23. <meta http-equiv="X-UA-Compatible"
  24. content="ie=edge">
  25. <title>Document</title>
  26. </head>
  27. <body>
  28. <!-- A comment -->
  29. <h1>Hello World</h1>
  30. </body>
  31. </html>
  32. `;
  33. exports[`html-comments.html 1`] = `
  34. <!-- htmlhint attr-lowercase: false -->
  35. <html>
  36. <body>
  37. <a href="#">Anchor</a>
  38. <div hidden class="foo" id=bar></div>
  39. </body>
  40. </html>
  41. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  42. <!-- htmlhint attr-lowercase: false -->
  43. <html>
  44. <head />
  45. <body>
  46. <a href="#">Anchor</a>
  47. <div hidden
  48. class="foo"
  49. id="bar" />
  50. </body>
  51. </html>
  52. `;
  53. exports[`html-fragment.html 1`] = `
  54. <a href="#">Link</a>
  55. <textarea>
  56. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  57. <a href="#">Link</a>
  58. <textarea />
  59. `;
  60. exports[`more-html.html 1`] = `
  61. <html>
  62. <body>
  63. <a href="#">Anchor</a>
  64. <div hidden class="foo" id=bar></div>
  65. </body>
  66. </html>
  67. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  68. <html>
  69. <head />
  70. <body>
  71. <a href="#">Anchor</a>
  72. <div hidden
  73. class="foo"
  74. id="bar" />
  75. </body>
  76. </html>
  77. `;
  78. exports[`void-elements.html 1`] = `
  79. <html>
  80. <head>
  81. <meta charset="UTF-8">
  82. <link rel="stylesheet" href="code-guide.css">
  83. </head>
  84. <body></body>
  85. </html>
  86. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  87. <html>
  88. <head>
  89. <meta charset="UTF-8">
  90. <link rel="stylesheet"
  91. href="code-guide.css">
  92. </head>
  93. <body>
  94. </body>
  95. </html>
  96. `;