Skip to content

Add tests to project component to shield against regression #20

@NickLewanowicz

Description

@NickLewanowicz

Expected Behavior

When pr#6 went through we fixed the re-render issues that caused empty lists to be rendered. We should have some tests to protect against regression of this issue.

Current Behavior

No tests were added with pr#6 but we should add some

Possible Solution

We currently use Jest as a testing framework, we should implement a testing directory for components where we test particular components individually.

Possible Implementation

  1. Add a directory in testing for component tests
  2. make a file with name related to project.js
  3. Implement snapshot tests to make sure the list renders with some data

Metadata

Metadata

Assignees

Labels

testingTests need to be written or existing tests need to be edited

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions