Skip to content

Commit b6ccd2e

Browse files
chore(deps): update dependency oxlint to v1.61.0 (#2720)
* chore(deps): update dependency oxlint to v1.61.0 * fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: JUNICHI IMAI <[email protected]>
1 parent e48db11 commit b6ccd2e

11 files changed

Lines changed: 172 additions & 138 deletions

File tree

oxlint.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,19 @@ export default defineConfig({
135135
"unicorn/switch-case-braces": ["error", "avoid"],
136136

137137
// ── eslint-plugin-vitest (built-in) ──
138+
"jest/prefer-importing-jest-globals": "off",
139+
"jest/prefer-ending-with-an-expect": "off",
140+
138141
"vitest/consistent-test-it": ["error", { fn: "it" }],
142+
"vitest/no-hooks": "off",
139143
"vitest/no-importing-vitest-globals": "off",
140144
"vitest/no-standalone-expect": [
141145
"error",
142146
{ additionalTestBlockFunctions: ["it.for"] },
143147
],
144148
"vitest/prefer-called-once": "off",
145149
"vitest/prefer-importing-vitest-globals": "off",
150+
"vitest/prefer-lowercase-title": "off",
146151
"vitest/prefer-to-be-falsy": "off",
147152
"vitest/prefer-to-be-truthy": "off",
148153
"vitest/require-hook": "off",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"msw-auto-mock": "0.32.0",
7979
"msw-storybook-addon": "2.0.7",
8080
"oxfmt": "0.46.0",
81-
"oxlint": "1.60.0",
81+
"oxlint": "1.61.0",
8282
"oxlint-tsgolint": "0.21.1",
8383
"playwright": "1.59.1",
8484
"remark-gfm": "4.0.1",

pnpm-lock.yaml

Lines changed: 81 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api/apiClient/apiClient.test.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { HttpResponse, http } from "msw";
22
import { apiClient } from "./apiClient";
33
import { server } from "../../mocks/server";
4+
import { ResponseError } from "../openapi";
45

56
const BASE_URL = "https://jsonplaceholder.typicode.com";
67

@@ -70,7 +71,9 @@ describe("apiClient", () => {
7071
),
7172
);
7273

73-
await expect(apiClient.postsPostIdGet({ postId: 999 })).rejects.toThrow();
74+
await expect(apiClient.postsPostIdGet({ postId: 999 })).rejects.toThrow(
75+
ResponseError,
76+
);
7477
});
7578
});
7679

@@ -117,9 +120,9 @@ describe("apiClient", () => {
117120
),
118121
);
119122

120-
await expect(
121-
apiClient.postsPostIdDelete({ postId: 1 }),
122-
).rejects.toThrow();
123+
await expect(apiClient.postsPostIdDelete({ postId: 1 })).rejects.toThrow(
124+
ResponseError,
125+
);
123126
});
124127
});
125128
});

0 commit comments

Comments
 (0)