frameLine.spec.jsx.snap 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Frame renderContext() should render context lines 1`] = `
  3. Array [
  4. <ContextLine
  5. className="css-x7wq2i-FrameContext"
  6. isActive={false}
  7. line={
  8. Array [
  9. 211,
  10. " # Mark the crashed thread and add its stacktrace to the exception",
  11. ]
  12. }
  13. >
  14. <li
  15. className="css-x7wq2i-FrameContext expandable"
  16. key="211"
  17. >
  18. <span
  19. className="ws"
  20. >
  21. </span>
  22. <span
  23. className="contextline"
  24. >
  25. # Mark the crashed thread and add its stacktrace to the exception
  26. </span>
  27. </li>
  28. </ContextLine>,
  29. <ContextLine
  30. className="css-x7wq2i-FrameContext"
  31. isActive={false}
  32. line={
  33. Array [
  34. 212,
  35. " crashed_thread = data['threads'][state.requesting_thread]",
  36. ]
  37. }
  38. >
  39. <li
  40. className="css-x7wq2i-FrameContext expandable"
  41. key="212"
  42. >
  43. <span
  44. className="ws"
  45. >
  46. </span>
  47. <span
  48. className="contextline"
  49. >
  50. crashed_thread = data['threads'][state.requesting_thread]
  51. </span>
  52. </li>
  53. </ContextLine>,
  54. <ContextLine
  55. className="css-x7wq2i-FrameContext"
  56. isActive={false}
  57. line={
  58. Array [
  59. 213,
  60. " crashed_thread['crashed'] = True",
  61. ]
  62. }
  63. >
  64. <li
  65. className="css-x7wq2i-FrameContext expandable"
  66. key="213"
  67. >
  68. <span
  69. className="ws"
  70. >
  71. </span>
  72. <span
  73. className="contextline"
  74. >
  75. crashed_thread['crashed'] = True
  76. </span>
  77. </li>
  78. </ContextLine>,
  79. ]
  80. `;
  81. exports[`Frame renderOriginalSourceInfo() should render the source map information as a HTML string 1`] = `
  82. <FrameDefaultTitleOriginalSourceInfo
  83. map="vendor.js.map"
  84. mapUrl="https://beta.getsentry.com/_static/sentry/dist/vendor.js.map"
  85. />
  86. `;