Skip to content

Commit c0f4ec5

Browse files
committed
fix: tests
1 parent ecc7feb commit c0f4ec5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

test/lib/config.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const externals = {
2121

2222
const defaultWebpackConfig = {
2323
entry: 'index.js',
24-
externals: {},
2524
mode: 'none',
25+
externals: {},
2626
module: {
2727
rules: [{
2828
test: /\.jsx?$/,
@@ -63,6 +63,8 @@ const defaultWebpackConfig = {
6363
{
6464
options: {
6565
cache: false,
66+
cacheKeys: () => {},
67+
minify: undefined,
6668
exclude: undefined,
6769
extractComments: false,
6870
include: undefined,
@@ -121,7 +123,6 @@ describe('config', () => {
121123

122124
expect(result.plugins[2].banner).to.be.a('function');
123125
delete result.plugins[2].banner;
124-
125126
expect(result).to.eql(defaultWebpackConfig);
126127
});
127128
});

0 commit comments

Comments
 (0)