boyney123/mockit

Wildcard Path doesn't affected by Delay feature

Open

#85 opened on Nov 23, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (76 forks)batch import
good first issue

Repository metrics

Stars
 (1,576 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

What you did:

Create a route: /orders/* then set the delay to 2000ms.

What happened:

route not delayed when hit with another param beside * /orders/1 not delayed image

/orders/900 not delayed /orders/* delayed image

Problem description:

Need to handle delay feature for wildcard path.

Suggested solution:

don't have a suggestion. but please fix it. 🥂

Contributor guide