textField.spec.jsx.snap 768 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`TextField render() renders with form context 1`] = `
  3. <div
  4. className="control-group"
  5. >
  6. <div
  7. className="controls"
  8. >
  9. <input
  10. className="form-control"
  11. disabled={false}
  12. id="id-fieldName"
  13. name="fieldName"
  14. onChange={[Function]}
  15. required={false}
  16. type="text"
  17. value="fieldValue"
  18. />
  19. </div>
  20. </div>
  21. `;
  22. exports[`TextField render() renders without form context 1`] = `
  23. <div
  24. className="control-group"
  25. >
  26. <div
  27. className="controls"
  28. >
  29. <input
  30. className="form-control"
  31. disabled={false}
  32. id="id-fieldName"
  33. name="fieldName"
  34. onChange={[Function]}
  35. required={false}
  36. type="text"
  37. value=""
  38. />
  39. </div>
  40. </div>
  41. `;