mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-08 03:43:56 -05:00
* feat: add winston logger in e2e tests * fix: rename appendTestName function to prefixWithTestName * fix: change some log level
20 lines
464 B
TypeScript
20 lines
464 B
TypeScript
import type { Config } from "jest";
|
|
|
|
const config: Config = {
|
|
preset: "ts-jest",
|
|
testEnvironment: "node",
|
|
rootDir: "src",
|
|
testRegex: ".spec.ts$",
|
|
verbose: true,
|
|
globalSetup: "./config/jest/global-setup.ts",
|
|
globalTeardown: "./config/jest/global-teardown.ts",
|
|
setupFilesAfterEnv: ["./config/jest/setup.ts"],
|
|
testTimeout: 3 * 60 * 1000,
|
|
maxConcurrency: 7,
|
|
maxWorkers: "75%",
|
|
workerThreads: true,
|
|
forceExit: true,
|
|
};
|
|
|
|
export default config;
|