codeceptjs / codeceptjs/CodeceptJS
[feature-request] REST helper rejectOnError config option
Aberta
enhancement
good first issue
REST
- Linguagem predominante
- JavaScript
- Estrelas
- 4.2k
- Forks
- 757
- Merge médio
- 2d 9h
- PRs com merge (30d)
- 16
Descrição
Just that. How do you feel about a config option for the REST helper to make the promises reject whenever there is an error response, ex. status codes 4XX, 5XX, etc? (I personally think it should be the default behaviour)
I could create a pull request for this, as I have implemented it already on a custom helper on the project I'm working on.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.