Skip to content

Commit b251762

Browse files
committed
[skip ci] tests: remove unnecessary mock
1 parent fd0e998 commit b251762

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

__tests__/commands.spec.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ const mockInstallAppDeps = jest.fn()
2121
jest.mock('electron-builder/out/cli/install-app-deps.js', () => ({
2222
installAppDeps: mockInstallAppDeps
2323
}))
24-
jest.mock('../lib/webpackConfig.js', () => ({
25-
getExternals: jest.fn(),
26-
chainWebpack: jest.fn()
27-
}))
24+
jest.mock('../lib/webpackConfig.js')
2825
const mockExeca = {
2926
on: jest.fn(),
3027
removeAllListeners: jest.fn(),

0 commit comments

Comments
 (0)