Skip to content

Commit

Permalink
fix(constants): change value of http status client error (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-zg authored Mar 1, 2020
1 parent c44c011 commit 040cdee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/http.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NHttpStatuses } from '../constants/http';

export const HTTP_STATUS_CLIENT_ERROR = 'EClientError';
export const HTTP_STATUS_CLIENT_ERROR = 'ClientError';
export const HTTP_STATUS_INFORMATIONAL = 'Informational';
export const HTTP_STATUS_REDIRECTION = 'Redirection';
export const HTTP_STATUS_SERVER_ERROR = 'ServerError';
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`httpStatus should make a package snapshot 1`] = `
Object {
"HTTP_STATUS_CLIENT_ERROR": "EClientError",
"HTTP_STATUS_CLIENT_ERROR": "ClientError",
"HTTP_STATUS_INFORMATIONAL": "Informational",
"HTTP_STATUS_REDIRECTION": "Redirection",
"HTTP_STATUS_SERVER_ERROR": "ServerError",
Expand Down

0 comments on commit 040cdee

Please sign in to comment.