Skip to content

Commit 97eb7a3

Browse files
committed
Auth: remove custom webpack step for undici
1 parent 3b93ffe commit 97eb7a3

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

packages/auth-compat/karma.conf.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@ module.exports = function (config) {
3030
// frameworks to use
3131
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
3232
frameworks: ['mocha'],
33-
// undici is a fetch polyfill that test helpers call for Node tests, and browser tests should
34-
// ignore its import to avoid compilation errors in those test helpers.
35-
webpack: {
36-
...webpackBase,
37-
resolve: {
38-
...webpackBase.resolve,
39-
alias: {
40-
'undici': false
41-
}
42-
}
43-
},
44-
4533
client: Object.assign({}, karmaBase.client, getClientConfig())
4634
});
4735

packages/auth/karma.conf.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,6 @@ module.exports = function (config) {
2727
// frameworks to use
2828
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
2929
frameworks: ['mocha'],
30-
// undici is a fetch polyfill that test helpers call for Node tests, and browser tests should
31-
// ignore its import to avoid compilation errors in those test helpers.
32-
webpack: {
33-
...webpackBase,
34-
resolve: {
35-
...webpackBase.resolve,
36-
alias: {
37-
'undici': false
38-
}
39-
}
40-
},
4130
client: Object.assign({}, karmaBase.client, getClientConfig(argv))
4231
});
4332

0 commit comments

Comments
 (0)