Skip to content

Commit a79197a

Browse files
committed
Fix test mock
1 parent 843657f commit a79197a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/appsec/index.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const mockPublish = jest.fn();
33
jest.mock("dc-polyfill", () => ({
44
channel: jest.fn(() => ({
55
publish: mockPublish,
6+
hasSubscribers: true,
67
})),
78
}));
89

0 commit comments

Comments
 (0)