Skip to content

Commit ecb2204

Browse files
committed
test: add trackEmbeddedClick method and enhance click handling for embedded messages
1 parent 6c418c3 commit ecb2204

File tree

2 files changed

+421
-1
lines changed

2 files changed

+421
-1
lines changed

src/__mocks__/MockRNIterableAPI.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ export class MockRNIterableAPI {
182182

183183
static pauseEmbeddedImpression = jest.fn();
184184

185+
static trackEmbeddedClick = jest.fn();
186+
185187
// set messages function is to set the messages static property
186188
// this is for testing purposes only
187189
static setMessages(messages: IterableInAppMessage[]): void {

0 commit comments

Comments
 (0)