App.test.js.snap 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`<App /> mount rendering matches the snapshot 1`] = `
  3. <MasterControlProgram>
  4. <div
  5. className="App"
  6. >
  7. <header
  8. className="App-header"
  9. >
  10. <img
  11. alt="logo"
  12. className="App-logo"
  13. src="logo.svg"
  14. />
  15. <h1
  16. className="App-title"
  17. >
  18. Welcome to React
  19. </h1>
  20. <h3
  21. className="blue"
  22. >
  23. Everyone is welcome!
  24. </h3>
  25. </header>
  26. <heading
  27. text="Some title"
  28. >
  29. <div>
  30. Some title
  31. </div>
  32. </heading>
  33. <p
  34. className="App-intro"
  35. >
  36. To get started, edit
  37. <code>
  38. src/App.js
  39. </code>
  40. and save to reload.
  41. </p>
  42. <ul
  43. className="tyler"
  44. >
  45. <li>
  46. First
  47. </li>
  48. <li>
  49. Second
  50. </li>
  51. <li>
  52. Third
  53. </li>
  54. </ul>
  55. <p
  56. className="button-state"
  57. >
  58. No!
  59. </p>
  60. <button
  61. onClick={[Function]}
  62. >
  63. Click
  64. </button>
  65. <h2 />
  66. <input
  67. onChange={[Function]}
  68. type="text"
  69. />
  70. <p
  71. className="lifeCycle"
  72. >
  73. componentDidMount
  74. </p>
  75. </div>
  76. </MasterControlProgram>
  77. `;
  78. exports[`<App /> shallow rendering matches the snapshot 1`] = `
  79. <div
  80. className="App"
  81. >
  82. <header
  83. className="App-header"
  84. >
  85. <img
  86. alt="logo"
  87. className="App-logo"
  88. src="logo.svg"
  89. />
  90. <h1
  91. className="App-title"
  92. >
  93. Welcome to React
  94. </h1>
  95. <h3
  96. className="blue"
  97. >
  98. Everyone is welcome!
  99. </h3>
  100. </header>
  101. <heading
  102. text="Some title"
  103. />
  104. <p
  105. className="App-intro"
  106. >
  107. To get started, edit
  108. <code>
  109. src/App.js
  110. </code>
  111. and save to reload.
  112. </p>
  113. <ul
  114. className="tyler"
  115. >
  116. <li>
  117. First
  118. </li>
  119. <li>
  120. Second
  121. </li>
  122. <li>
  123. Third
  124. </li>
  125. </ul>
  126. <p
  127. className="button-state"
  128. >
  129. No!
  130. </p>
  131. <button
  132. onClick={[Function]}
  133. >
  134. Click
  135. </button>
  136. <h2 />
  137. <input
  138. onChange={[Function]}
  139. type="text"
  140. />
  141. <p
  142. className="lifeCycle"
  143. >
  144. componentDidMount
  145. </p>
  146. </div>
  147. `;