transform ESM octokit deps during tests

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2026-01-28 14:48:37 +01:00
parent 4fefc18a15
commit 13d565c67f
2 changed files with 2 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ module.exports = {
}
]
},
transformIgnorePatterns: ['/node_modules/(?!(?:@octokit|universal-user-agent)/)'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1'
},

View File

@@ -29,6 +29,7 @@ module.exports = {
}
]
},
transformIgnorePatterns: ['/node_modules/(?!(?:@octokit|universal-user-agent)/)'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1'
},