Skip to content

Unit testing and general improvements #409

@diana-villalvazo-wgu

Description

@diana-villalvazo-wgu

When we started the work for depr react-unit-test-utils we received some suggestions of work that could be done, but decided to split some work into a new parent (Phase 2) because some tasks were not strictly needed for depr process.
Here are some of them:

  • Replace injectIntl with useIntl()
  • Replace connect with useSelector() + useDispatch()
  • Get rid of getByTestId, queryByTestId, getAllByTestId, queryAllByTestId, findByTestId, findAllByTestId, this as part of prioritizing accessible queries
  • Ideally tests should be TypeScript.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions