Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Details-test.tsx.snap 1018B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should render correctly: loaded 1`] = `
  3. <div
  4. className="layout-page-main"
  5. >
  6. <DeferredSpinner
  7. loading={false}
  8. timeout={200}
  9. >
  10. <HelmetWrapper
  11. defer={true}
  12. encodeSpecialCharacters={true}
  13. title="qualitygate"
  14. />
  15. <DetailsHeader
  16. onSetDefault={[Function]}
  17. qualityGate={
  18. Object {
  19. "id": 1,
  20. "name": "qualitygate",
  21. }
  22. }
  23. refreshItem={[Function]}
  24. refreshList={[MockFunction]}
  25. />
  26. <Memo(DetailsContent)
  27. isDefault={false}
  28. metrics={Object {}}
  29. onAddCondition={[Function]}
  30. onRemoveCondition={[Function]}
  31. onSaveCondition={[Function]}
  32. qualityGate={
  33. Object {
  34. "id": 1,
  35. "name": "qualitygate",
  36. }
  37. }
  38. />
  39. </DeferredSpinner>
  40. </div>
  41. `;
  42. exports[`should render correctly: loading 1`] = `
  43. <div
  44. className="layout-page-main"
  45. >
  46. <DeferredSpinner
  47. loading={true}
  48. timeout={200}
  49. />
  50. </div>
  51. `;