Skip to content

Commit

Permalink
chore: add TS comment
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat committed Jul 28, 2023
1 parent b4b86be commit 7d418fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/__tests__/checkError.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ vi.mock("i18next", () => ({
describe("checkError", () => {
it("should display the message with basic detail object", () => {
const errorMsg = checkError({
// @ts-ignore
// @ts-ignore response is not a full "AxiosResponse<ApiError, any>" type currently
response: {
data: {
detail: "old password format invalid",
Expand All @@ -19,7 +19,7 @@ describe("checkError", () => {

it("should display the message with detail.msg object", () => {
const errorMsg = checkError({
// @ts-ignore
// @ts-ignore response is not a full "AxiosResponse<ApiError, any>" type currently
response: {
data: {
detail: [
Expand Down

0 comments on commit 7d418fc

Please sign in to comment.