Skip to content

Rewrite Unit/ e2e tests #99

@akmadian

Description

@akmadian

The current unit and e2e tests were written before the current Outreachy internship round, and need to be updated for the current codebase. We need unit tests for components and utils, but some components won't need tests because they mock Vocabulary components, and will be deprecated soon.

Unit tests are done with Jest, and e2e tests are done with nightwatch.

This task is partially blocking #77. The reason for the block was that the tests written at the time the PR was created were old and would always fail. Once we've got some tests updated, we can merge it.

The components that need tests are:

Note that this specific issue is not up for grabs, and is meant to track meta discussion about the larger task of creating tests as a whole.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🏷 status: label work requiredNeeds proper labelling before it can be worked on💻 aspect: codeConcerns the software code in the repository🤖 aspect: dxConcerns developers' experience with the codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions