[test] Add tests for downloadUrlPromise

This commit is contained in:
Sergey Konovalov
2025-03-20 17:27:39 +03:00
parent 00c0e3d7cc
commit bfa3c76c25
3 changed files with 411 additions and 2 deletions

View File

@ -120,7 +120,9 @@ module.exports = {
// ],
// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
// moduleNameMapper: {},
moduleNameMapper: {
'^axios$': '../../Common/node_modules/axios/dist/node/axios.cjs',
},
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
// modulePathIgnorePatterns: [],