@ledgerhq/coin-icon
Version:
Ledger Icon Coin integration
23 lines (22 loc) • 766 B
JavaScript
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
passWithNoTests: true,
testPathIgnorePatterns: ["lib/", "lib-es/", ".integration.test.ts"],
modulePathIgnorePatterns: [
"/bridge.integration.test.ts", // this file is tested at the live-common level
],
collectCoverageFrom: [
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/**/*.spec.ts",
"!src/test/**/*.ts",
],
coverageReporters: ["json", ["lcov", { file: "lcov.info", projectRoot: "../../../" }], "text"],
reporters: [
"default",
["jest-sonar", { outputName: "sonar-executionTests-report.xml", reportedFilePath: "absolute" }],
],
setupFilesAfterEnv: ["@ledgerhq/disable-network-setup"],
};