forwardemail / forwardemail/supertest

404 "not found on 1st express endpoint test

Open
#649 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
14.4k
Forks
782
PR merge metrics
No merged PRs in 30d

Description

Maybe it's me but, by using supertest and mocha to test an express server.

Issue :
The 1st express endpoint test of a list of test always returns a 404 "not found". and the following tests function nominally

Temporary Fix :
Add a test, testing nothing before any other test ( and then the orignal one doesn't throw back a 404 "not found" anymore)

This blocked me for so long, the express server routes are fine, but i don't know if this issue can be fixed properly.

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.