matchfuzzy
Version:
Match your query fuzzy on given target
34 lines (24 loc) • 1.19 kB
JavaScript
// For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html
module.exports = {
// Use ts-jest to enable correct code coverage
preset: "ts-jest",
// Automatically clear mock calls and instances between every test
clearMocks: true,
// The directory where Jest should output its coverage files
coverageDirectory: "coverage",
// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns: ["/node_modules/", "__tests__", "__mocks__", ".json", ".js", "index.ts"],
collectCoverageFrom: ["<rootDir>/src/**/*.ts"],
// Log all the individual tests
verbose: true,
// Make calling deprecated APIs throw helpful error messages
errorOnDeprecated: true,
// The test environment that will be used for testing
testEnvironment: "node",
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
testPathIgnorePatterns: ["/node_modules/", "/dist"],
testMatch: ["**/__tests__/**/*.spec.ts"],
roots: ["<rootDir>/src/"]
// setupFiles: ["<rootDir>/src/__tests__/testSetup.ts"]
};