Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Fracala committed Oct 14, 2024
1 parent 47e7890 commit 77819d1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,13 @@ describe('createFullscreenWidget', () => {
});

it('returns the correct object with correct properties', async () => {
expect.assertions(4);
expect.assertions(5);

const widget = await createFullscreenWidget();
expect(widget).toHaveProperty('setNotificationBadge');
expect(widget).toHaveProperty('on');
expect(widget).toHaveProperty('off');
expect(widget).toHaveProperty('sendMessage');
expect(widget).toHaveProperty('getPageData');
});
});

0 comments on commit 77819d1

Please sign in to comment.