UNPKG

@ledgerhq/ledger-trust-service

Version:
29 lines (28 loc) 810 B
// `workerThreads: true` is required for validating object with `bigint` values module.exports = { testEnvironment: "node", testPathIgnorePatterns: ["lib/", "lib-es/", ".*\\.integ\\.test\\.[tj]s"], workerThreads: true, transform: { "^.+\\.(t|j)sx?$": [ "@swc/jest", { jsc: { target: "esnext", parser: { syntax: "typescript", tsx: false, decorators: false, dynamicImport: true, }, }, }, ], }, coverageReporters: ["json", ["lcov", { file: "lcov.info", projectRoot: "../../../" }], "text"], reporters: [ "default", ...(process.env.CI ? ["github-actions"] : []), ["jest-sonar", { outputName: "sonar-executionTests-report.xml", reportedFilePath: "absolute" }], ], };