We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 350eff3 commit f24c10bCopy full SHA for f24c10b
apps/http-sample/test/jest-e2e.js
@@ -2,4 +2,7 @@ const e2eBaseConfig = require('../../../jest.e2e');
2
3
module.exports = {
4
...e2eBaseConfig,
5
+ moduleNameMapper: {
6
+ '^axios$': require.resolve('axios'),
7
+ },
8
};
jest.e2e.js
@@ -7,4 +7,5 @@ module.exports = {
...baseConfig,
rootDir: '..',
9
testMatch: ['<rootDir>/test/**/*.e2e-spec.ts'],
10
+ transformIgnorePatterns: ['node_modules/(?!axios)'],
11
0 commit comments