Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

CreateButton-test.tsx.snap 689B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should create new group 1`] = `
  3. <Fragment>
  4. <Button
  5. id="metrics-create"
  6. onClick={[Function]}
  7. >
  8. custom_metrics.create_metric
  9. </Button>
  10. </Fragment>
  11. `;
  12. exports[`should create new group 2`] = `
  13. <Fragment>
  14. <Button
  15. id="metrics-create"
  16. onClick={[Function]}
  17. >
  18. custom_metrics.create_metric
  19. </Button>
  20. <Form
  21. confirmButtonText="create"
  22. domains={
  23. Array [
  24. "Coverage",
  25. "Issues",
  26. ]
  27. }
  28. header="custom_metrics.create_metric"
  29. onClose={[Function]}
  30. onSubmit={[MockFunction]}
  31. types={
  32. Array [
  33. "INT",
  34. "STRING",
  35. ]
  36. }
  37. />
  38. </Fragment>
  39. `;