Greenstand / Greenstand/treetracker-messaging-api

Improve our tests

Open
#35 0 comments 0 reactions 1 assignee Claimed by @ZavenArra View on GitHub
enhancement
Dominant language
JavaScript
Stars
1
Forks
11
PR merge metrics
No merged PRs in 30d

Description

For the repo of messaging api, I think we should isolate tests by cleaning up data frequently, the tests are getting complicated in files https://github.com/Greenstand/treetracker-messaging-api/blob/main/api-tests/message-api.spec.js it's easy that those data created by tests interfere with each other. And tests shouldn't rely on each other, I found in another project, that the test platform can not promise all these tests to get executed in sequence. Use API like: beforeEach we can clean and isolate all tests.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.