Skip to content

Commit

Permalink
test: remove console log from Live Preview HOC test
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshshetty-dev committed Oct 21, 2024
1 parent 9197194 commit f116a96
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/preview/__test__/contentstack-live-preview-HOC.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ describe("Live Preview HOC init", () => {

await sleep();
expect(livePreviewPostMessageSpy).toHaveBeenCalledTimes(1);
console.log(visualBuilderPostMessageSpy.mock.calls);
expect(visualBuilderPostMessageSpy).toHaveBeenCalledWith('init', { isSSR: true, href: 'http://localhost:3000/' });
expect(visualBuilderPostMessageSpy).toHaveBeenCalledWith('send-variant-and-locale');
expect(visualBuilderPostMessageSpy).toHaveBeenCalledTimes(2);
Expand Down

0 comments on commit f116a96

Please sign in to comment.