RealDevSquad / RealDevSquad/website-backend

Run every tasks test exclusively

Open
#381 1 comment 0 reactions 1 assignee View on GitHub

@bhk31 is already working on this.

Since Jun 11, 2021.

Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Run every tasks test exclusively, so that the data of the previous test is not utilised in any test. We should run the cleanDB function to clean the DB after every test so that the data added for the test1 does not affect test2.

This is currently causing the test: https://github.com/Real-Dev-Squad/website-backend/runs/2799769523?check_suite_focus=true#step:6:133 to fail in main branch.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.