Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Update tests for app router
Browse files Browse the repository at this point in the history
  • Loading branch information
acouch committed May 22, 2024
1 parent c546571 commit 3b9b193
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 86 deletions.
5 changes: 1 addition & 4 deletions frontend/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ const createJestConfig = nextJest({
// Add any custom config to be passed to Jest
/** @type {import('jest').Config} */
const customJestConfig = {
setupFilesAfterEnv: [
"<rootDir>/tests/jest.setup.js",
"<rootDir>/tests/jest-i18n.ts",
],
setupFilesAfterEnv: ["<rootDir>/tests/jest.setup.js"],
testEnvironment: "jsdom",
// if using TypeScript with a baseUrl set to the root directory then you need the below for alias' to work
moduleDirectories: ["node_modules", "<rootDir>/"],
Expand Down
28 changes: 0 additions & 28 deletions frontend/src/pages/_app.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/tests/errors.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BadRequestError } from "src/errors";
import { ParsedError } from "src/app/search/error";
import { ParsedError } from "src/app/[locale]/search/error";
import { QueryParamData } from "src/services/search/searchfetcher/SearchFetcher";

describe("BadRequestError", () => {
Expand Down
53 changes: 0 additions & 53 deletions frontend/tests/jest-i18n.ts

This file was deleted.

0 comments on commit 3b9b193

Please sign in to comment.