diff --git a/jest.config.js b/jest.config.js index b723319d0..af31beaeb 100644 --- a/jest.config.js +++ b/jest.config.js @@ -36,10 +36,13 @@ const reportPortalConfig = [ }, ] +const isDependabotPR = process.env.GITHUB_ACTOR === 'dependabot[bot]' + const isReportPortalSetup = process.env.REPORTPORTAL_API_KEY !== undefined && process.env.REPORTPORTAL_ENDPOINT !== undefined && - process.env.REPORTPORTAL_PROJECT !== undefined + process.env.REPORTPORTAL_PROJECT !== undefined && + !isDependabotPR module.exports = { transformIgnorePatterns: [