Skip to content

Commit

Permalink
Switch to different module, fixing the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dosolkowski-work committed Oct 22, 2024
1 parent 101e930 commit 8da92cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react-swc": "^3.7.1",
"@vitest/expect": "^2.1.3",
"jsdom": "^25.0.1",
"typescript": "^5.6.3",
"vite": "^5.4.9",
Expand Down
4 changes: 2 additions & 2 deletions app/src/custom-matchers.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "vitest";
import "@vitest/expect";
import type { AxeMatchers } from "vitest-axe";

declare module "vitest" {
declare module "@vitest/expect" {
// eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any, @typescript-eslint/no-empty-object-type -- have to match interface we're altering
interface Assertion<T = any> extends AxeMatchers {}
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8da92cd

Please sign in to comment.