You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Definition-test.tsx.snap 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should render correctly 1`] = `
  3. <div
  4. className="settings-definition"
  5. data-key="foo"
  6. >
  7. <div
  8. className="settings-definition-left"
  9. >
  10. <h3
  11. className="settings-definition-name"
  12. title="Foo setting"
  13. >
  14. Foo setting
  15. </h3>
  16. <div
  17. className="markdown small spacer-top"
  18. dangerouslySetInnerHTML={
  19. Object {
  20. "__html": "When Foo then Bar",
  21. }
  22. }
  23. />
  24. <div
  25. className="settings-definition-key note little-spacer-top"
  26. >
  27. settings.key_x.foo
  28. </div>
  29. </div>
  30. <div
  31. className="settings-definition-right"
  32. >
  33. <div
  34. className="settings-definition-state"
  35. />
  36. <form>
  37. <Input
  38. hasValueChanged={false}
  39. onCancel={[Function]}
  40. onChange={[Function]}
  41. onSave={[Function]}
  42. setting={
  43. Object {
  44. "definition": Object {
  45. "description": "When Foo then Bar",
  46. "key": "foo",
  47. "name": "Foo setting",
  48. "options": Array [],
  49. "type": "INTEGER",
  50. },
  51. "hasValue": true,
  52. "inherited": true,
  53. "key": "foo",
  54. "value": "42",
  55. }
  56. }
  57. value="42"
  58. />
  59. <DefinitionActions
  60. changedValue={null}
  61. hasError={false}
  62. hasValueChanged={false}
  63. isDefault={true}
  64. onCancel={[Function]}
  65. onReset={[Function]}
  66. onSave={[Function]}
  67. setting={
  68. Object {
  69. "definition": Object {
  70. "description": "When Foo then Bar",
  71. "key": "foo",
  72. "name": "Foo setting",
  73. "options": Array [],
  74. "type": "INTEGER",
  75. },
  76. "hasValue": true,
  77. "inherited": true,
  78. "key": "foo",
  79. "value": "42",
  80. }
  81. }
  82. />
  83. </form>
  84. </div>
  85. </div>
  86. `;