diff --git a/src/utils/http.ts b/src/utils/http.ts index c2e5761..2546341 100644 --- a/src/utils/http.ts +++ b/src/utils/http.ts @@ -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'; diff --git a/test/__snapshots__/index.test.ts.snap b/test/__snapshots__/index.test.ts.snap index 89dab20..5b27b7b 100644 --- a/test/__snapshots__/index.test.ts.snap +++ b/test/__snapshots__/index.test.ts.snap @@ -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",