Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
sawyerh committed Nov 29, 2023
1 parent 336c096 commit 8518a74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const createJestConfig = nextJest({
/** @type {import('jest').Config} */
const customJestConfig = {
setupFilesAfterEnv: [
"<rootDir>/tests/jest.setup.js",
"<rootDir>/tests/jest.setup.ts",
"<rootDir>/tests/jest-i18n.ts",
],
testEnvironment: "jsdom",
Expand Down
4 changes: 0 additions & 4 deletions app/tests/jest.setup.js

This file was deleted.

5 changes: 5 additions & 0 deletions app/tests/jest.setup.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import "@testing-library/jest-dom";

import { toHaveNoViolations } from "jest-axe";

expect.extend(toHaveNoViolations);

0 comments on commit 8518a74

Please sign in to comment.