Files
linea-monorepo/operations/jest.config.cjs
Andrei A. e3d2839fee Feat/30 refactor operational packages (#116)
* refactor Operational packages

* fix: refactor operations package to use oclif

* adjusting Dockerfile

* adjusting github action

* Update all-tools.yml

Signed-off-by: Andrei A. <andrei.alexandru@consensys.net>

* adjusting github action

---------

Signed-off-by: Andrei A. <andrei.alexandru@consensys.net>
Co-authored-by: VGau <victorien.gauch@consensys.net>
2024-10-02 15:55:59 +03:00

19 lines
472 B
JavaScript

module.exports = {
preset: "ts-jest/presets/default-esm",
testEnvironment: "node",
testRegex: "test.ts$",
transform: {
"^.+\\.ts$": ["ts-jest", { useESM: true }],
},
verbose: true,
collectCoverage: true,
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1",
},
extensionsToTreatAsEsm: [".ts"],
collectCoverageFrom: ["src/**/*.ts"],
coverageReporters: ["html", "lcov", "text"],
testPathIgnorePatterns: [],
coveragePathIgnorePatterns: [],
};