Skip to content

Commit 56655a2

Browse files
committed
tests: added tests
1 parent ac19ab6 commit 56655a2

File tree

2 files changed

+409
-1
lines changed

2 files changed

+409
-1
lines changed

packages/nextjs/test/config/fixtures.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ export function getBuildContext(
101101
} as NextConfigObject,
102102
webpack: {
103103
version: webpackVersion,
104-
DefinePlugin: class {} as any,
104+
DefinePlugin: class {
105+
constructor(public definitions: Record<string, any>) {}
106+
} as any,
105107
ProvidePlugin: class {
106108
constructor(public definitions: Record<string, any>) {}
107109
} as any,

0 commit comments

Comments
 (0)