
* feat: add translations for forgot password email and misc * fix: type fixes * feat: translate invitation email * fix: e2e tests * fix: lint * feat: type fixes and i18n for emails * Merge main * fix: jest import on server path * Merge * fix: playwright tests * fix: lint Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
20 lines
669 B
TypeScript
20 lines
669 B
TypeScript
import type { Config } from "@jest/types";
|
|
|
|
const config: Config.InitialOptions = {
|
|
verbose: true,
|
|
roots: ["<rootDir>"],
|
|
testMatch: ["**/tests/**/*.+(ts|tsx|js)", "**/?(*.)+(spec|test).+(ts|tsx|js)"],
|
|
testPathIgnorePatterns: ["<rootDir>/.next", "<rootDir>/playwright/"],
|
|
transform: {
|
|
"^.+\\.(js|jsx|ts|tsx)$": ["babel-jest", { presets: ["next/babel"] }],
|
|
},
|
|
transformIgnorePatterns: ["/node_modules/", "^.+\\.module\\.(css|sass|scss)$"],
|
|
testEnvironment: "jsdom",
|
|
moduleNameMapper: {
|
|
"^@components(.*)$": "<rootDir>/components$1",
|
|
"^@lib(.*)$": "<rootDir>/lib$1",
|
|
"^@server(.*)$": "<rootDir>/server$1",
|
|
},
|
|
};
|
|
|
|
export default config;
|