@ledgerhq/coin-icon
Version:
Ledger Icon Coin integration
32 lines (31 loc) • 898 B
JavaScript
module.exports = {
testEnvironment: "node",
passWithNoTests: true,
testPathIgnorePatterns: ["lib/", "lib-es/", ".integration.test.ts", "\\.integ\\.test\\.ts$"],
modulePathIgnorePatterns: [
"/bridge.integration.test.ts", // this file is tested at the live-common level
],
transform: {
"^.+\\.(ts|tsx)$": [
"@swc/jest",
{
jsc: {
target: "esnext",
},
},
],
},
collectCoverageFrom: [
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/**/*.spec.ts",
"!src/test/**/*.ts",
],
coverageReporters: ["json", ["lcov", { file: "lcov.info", projectRoot: "../../../" }], "text"],
reporters: [
"default",
...(process.env.CI ? ["github-actions"] : []),
["jest-sonar", { outputName: "sonar-executionTests-report.xml", reportedFilePath: "absolute" }],
],
setupFilesAfterEnv: ["@ledgerhq/disable-network-setup"],
};