temp-directory: "./.nyc_output" # Cache must be disabled for ts-node transpilation to work correctly with nyc. cache: false check-coverage: true per-file: true lines: 90 statements: 90 functions: 90 branches: 90 all: true include: [ "src/**/*.js", "src/**/*.ts" ] extension: [ ".js", ".ts" ] reporter: [ "lcov", "text-summary" ] exclude: [ "**/node_modules/**", '**/migrations/**', '**/ddl/**', '**/bulk*/**', 'src/shared/logger/**', 'src/shared/loggingPlugin.js', 'src/shared/constants.js', 'src/domain/position/index.js', 'src/domain/position/binProcessor.js', 'src/handlers/positions/handler.js', 'src/handlers/transfers/createRemittanceEntity.js', 'src/handlers/transfers/FxFulfilService.js', 'src/models/position/batch.js', 'src/models/fxTransfer/**', 'src/models/participant/externalParticipantCached.js', # todo: figure out why it shows only 50% coverage in Branch 'src/models/transfer/facade.js', ## add more test coverage 'src/shared/fspiopErrorFactory.js', 'src/lib/proxyCache.js', # todo: remove this line after adding test coverage 'src/seeds/**', 'src/**/*.test.ts', 'src/testing/**', # Test runner. 'src/**/*.unit.ts', # Unit test files. 'src/**/*.int.ts', # Integration test tests. # TigerBeetle related new files, will be removed in a followup PR to # https://github.com/mojaloop/central-ledger/pull/1314 # 'src/messaging/message-bus.ts', 'src/messaging/helper.ts', 'src/handlers/timeout-v2.ts', 'src/handlers/payment-prepare.ts', 'src/handlers/payment-fulfil.ts', 'src/handlers/dispatch-transfer-handler.ts', 'src/domain/ledger/shared/types.ts' ] ## todo: increase test coverage before merging feat/fx-impl to main branch