jsfmt.spec.js.snap 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`0-indent-js.md 1`] = `
  3. - 1
  4. - 2
  5. - 3
  6. \`\`\`js
  7. md\`
  8. # this is the root indent
  9. # this is the root indent
  10. # this is the root indent
  11. \`
  12. something\`
  13. asd
  14. asd
  15. asd
  16. \`
  17. \`\`\`
  18. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  19. - 1
  20. - 2
  21. - 3
  22. \`\`\`js
  23. md\`
  24. # this is the root indent
  25. # this is the root indent
  26. # this is the root indent
  27. \`;
  28. something\`
  29. asd
  30. asd
  31. asd
  32. \`;
  33. \`\`\`
  34. `;
  35. exports[`additional-space.md 1`] = `
  36. 1. Fork the repo and create your branch from \`master\`.
  37. Open terminal (e.g. Terminal, iTerm, Git Bash or Git Shell) and type:
  38. \`\`\`sh
  39. git clone https://github.com/<your_username>/jest
  40. cd jest
  41. git checkout -b my_branch
  42. \`\`\`
  43. Note:
  44. Replace \`<your_username>\` with your GitHub username
  45. 3. Run \`yarn install\`.
  46. On Windows:
  47. To install [Yarn](https://yarnpkg.com/en/docs/install#windows-tab) on Windows you may need to download either node.js or Chocolatey<br />
  48. \`\`\`sh
  49. yarn install
  50. \`\`\`
  51. To check your version of Yarn and ensure it's installed you can type:
  52. \`\`\`sh
  53. yarn --version
  54. \`\`\`~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  55. 1. Fork the repo and create your branch from \`master\`.
  56. Open terminal (e.g. Terminal, iTerm, Git Bash or Git Shell) and type:
  57. \`\`\`sh
  58. git clone https://github.com/<your_username>/jest
  59. cd jest
  60. git checkout -b my_branch
  61. \`\`\`
  62. Note: Replace \`<your_username>\` with your GitHub username
  63. 2. Run \`yarn install\`. On Windows: To install
  64. [Yarn](https://yarnpkg.com/en/docs/install#windows-tab) on Windows you may
  65. need to download either node.js or Chocolatey<br />
  66. \`\`\`sh
  67. yarn install
  68. \`\`\`
  69. To check your version of Yarn and ensure it's installed you can type:
  70. \`\`\`sh
  71. yarn --version
  72. \`\`\`
  73. `;
  74. exports[`backtick.md 1`] = `
  75. \`\`\`\`\`\`\`\`\`\`
  76. \`\`\`js
  77. console.log("hello world!");
  78. \`\`\`
  79. \`\`\`\`\`\`\`\`\`\`
  80. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  81. \`\`\`\`
  82. \`\`\`js
  83. console.log("hello world!");
  84. \`\`\`
  85. \`\`\`\`
  86. `;
  87. exports[`format.md 1`] = `
  88. \`\`\`js
  89. const foo = 'bar'
  90. console .log( 213 )
  91. \`\`\`
  92. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  93. \`\`\`js
  94. const foo = "bar";
  95. console.log(213);
  96. \`\`\`
  97. `;
  98. exports[`indent.md 1`] = `
  99. Indented Code Block
  100. Indented Code Block
  101. Indented Code Block
  102. Indented Code Block
  103. Indented Code Block
  104. - \`\`\`
  105. Fenced Code Block
  106. Fenced Code Block
  107. Fenced Code Block
  108. Fenced Code Block
  109. Fenced Code Block
  110. \`\`\`
  111. <!-- prettier/prettier#3459 -->
  112. 1. Change to your home directory:
  113. cd
  114. 2. List the contents:
  115. ls -l
  116. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  117. Indented Code Block
  118. Indented Code Block
  119. Indented Code Block
  120. Indented Code Block
  121. Indented Code Block
  122. - \`\`\`
  123. Fenced Code Block
  124. Fenced Code Block
  125. Fenced Code Block
  126. Fenced Code Block
  127. Fenced Code Block
  128. \`\`\`
  129. <!-- prettier/prettier#3459 -->
  130. 1. Change to your home directory:
  131. cd
  132. 2. List the contents:
  133. ls -l
  134. `;
  135. exports[`lang.md 1`] = `
  136. \`\`\`js
  137. console.log("hello world");
  138. \`\`\`
  139. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  140. \`\`\`js
  141. console.log("hello world");
  142. \`\`\`
  143. `;
  144. exports[`simple.md 1`] = `
  145. \`\`\`
  146. hello world
  147. \`\`\`
  148. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  149. \`\`\`
  150. hello world
  151. \`\`\`
  152. `;