UNPKG

@ledgerhq/hw-app-trx

Version:
28 lines (25 loc) 676 B
import { dirname } from "node:path"; import { fileURLToPath } from "node:url"; import baseConfig from "../../jest.config.ts"; const __dirname = dirname(fileURLToPath(import.meta.url)); export default { ...baseConfig, rootDir: __dirname, collectCoverageFrom: [ "src/**/*.ts", "!src/**/*.test.{ts,tsx}", "!src/**/*.spec.{ts,tsx}", "!src/**/__tests__/**", "!tests/**", ], coverageReporters: [ "json", ["lcov", { file: "lcov.info", projectRoot: "../../../../" }], "json-summary", "text", ], reporters: [ "default", ["jest-sonar", { outputName: "sonar-executionTests-report.xml", reportedFilePath: "absolute" }], ], };