Skip to content

Commit 63062d1

Browse files
committed
test/config/webpack/constructWebpackConfig.test.ts failing
1 parent 3ec4586 commit 63062d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/nextjs/test/config/webpack/constructWebpackConfig.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { describe, expect, it, vi } from 'vitest';
2+
13
// mock helper functions not tested directly in this file
24
import '../mocks';
35

@@ -46,7 +48,7 @@ describe('constructWebpackConfigFunction()', () => {
4648
});
4749

4850
it('automatically enables deleteSourcemapsAfterUpload for client builds when not explicitly set', async () => {
49-
const getWebpackPluginOptionsSpy = jest.spyOn(getWebpackPluginOptionsModule, 'getWebpackPluginOptions');
51+
const getWebpackPluginOptionsSpy = vi.spyOn(getWebpackPluginOptionsModule, 'getWebpackPluginOptions');
5052

5153
await materializeFinalWebpackConfig({
5254
exportedNextConfig,

0 commit comments

Comments
 (0)