decentraland / decentraland/builder-server

Change the mocking strategy of the authentication middleware

Open
#360 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
20
Forks
17
Avg merge
5d 8h
Merged PRs (30d)
3

Description

We're currently using a new implementation in the authentication middleware that uses `Date.now`, but there are tests that mock this function creating an issue that might be hard to track.
In order to make tests better:
- Create an authentication mock that mock the verification procedure.
- Create integration tests that verify the authentication process.

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.