Skip to content

Commit 9486589

Browse files
committed
fix up bundle analysis type error in test
1 parent 84ebd39 commit 9486589

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/bundler-plugin-core/src/bundle-analysis/__tests__/bundleAnalysisPluginFactory.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { type UnpluginContextMeta } from "unplugin";
12
import { bundleAnalysisPluginFactory } from "../bundleAnalysisPluginFactory";
23

34
describe("bundleAnalysisPluginFactory", () => {
@@ -16,6 +17,11 @@ describe("bundleAnalysisPluginFactory", () => {
1617
name: "plugin-name",
1718
pluginVersion: "1.0.0",
1819
}),
20+
unpluginMetaContext: {} as UnpluginContextMeta,
21+
sentryClient: undefined,
22+
handleRecoverableError() {
23+
return;
24+
},
1925
});
2026

2127
expect(plugin).toMatchSnapshot();

0 commit comments

Comments
 (0)