boyney123/mockit

Add more status codes

Open

#2 aberto em 20 de abr. de 2019

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)JavaScript (76 forks)batch import
enhancementgood first issue

Métricas do repositório

Stars
 (1.576 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

At the moment MockIt supports

export const StatusCodes = {
  OK: "200",
  CREATED: "201",
  NO_CONTENT: "204",
  BAD_REQUEST: "400",
  FORBIDDEN: "401",
  INTERNAL_SERVER_ERROR: "500"
};

Might be worth adding some more? https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

If anybody is up for the challenge :)?

Guia do colaborador