Skip to main content
Module

x/fonction/jest.config.json

A modern practical functional library
Go to Latest
File
{ "clearMocks": true, "coverageDirectory": "coverage", "coverageProvider": "v8", "testEnvironment": "node", "testMatch": ["**/test/**/*.spec.ts?(x)"], "transform": { "^.+\\.ts$": "@swc/jest" }, "moduleNameMapper": { "^@/(.+)$": "<rootDir>/src/$1", "^@test/(.+)$": "<rootDir>/test/$1", "@test": "<rootDir>/test/index", "https://x.nest.land/arithmetic4@0.1.1/mod.ts": "arithmetic4" }, "collectCoverageFrom": [ "src/**/*.ts", "!**/node_modules/**", "!**/vendor/**", "!src/types/**", "!src/{index,add,subtract,multiply,divide}.ts" ]}