boyney123/mockit

Wildcard Path doesn't affected by Delay feature

Open

#85 aperta il 23 nov 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (76 fork)batch import
good first issue

Metriche repository

Star
 (1576 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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. 🥂

Guida contributor