Skip to content

Refactor and test pages/sites/new /TemplateSite.jsx #4692

Description

@apburnes

Add a test to pages/sites/new /TemplateSite.jsx using the RTL framework. See our docs for writing frontend tests.

Acceptance Criteria

  • Refactor from a class component into a functional component
  • Colocate test file to pages/sites/new /TemplateSite.jsx
  • Test all of the actions
    • handleChooseActive
    • handleChange
    • handleSubmit
    • validateOrgSelect

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions