ahmedgaafer/JS-Data-Structures

View on GitHub
jest.config.js

Summary

Maintainability
A
0 mins
Test Coverage
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
    preset: "ts-jest",
    testEnvironment: "node",
    collectCoverage: true,
    verbose: true,
    collectCoverageFrom: ["./src/**"],
    coverageThreshold: {
        global: {
            lines: 95,
        },
    },

    transform: {
        "^.+\\.tsx?$": [
            "ts-jest",
            {
                tsconfig: "./tsconfig.json",
            },
        ],
    },
};