We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f75a38 commit 33f1bf3Copy full SHA for 33f1bf3
src/__mocks__/MockRNIterableAPI.ts
@@ -66,10 +66,16 @@ export class MockRNIterableAPI {
66
MockRNIterableAPI.attributionInfo = attributionInfo;
67
}
68
69
- static initializeWithApiKey = jest.fn();
+ static initializeWithApiKey = jest.fn().mockResolvedValue(true);
70
+
71
+ static initialize2WithApiKey = jest.fn().mockResolvedValue(true);
72
73
+ static wakeApp = jest.fn()
74
75
static setInAppShowResponse = jest.fn();
76
77
+ static passAlongAuthToken = jest.fn();
78
79
static async getInAppMessages(): Promise<IterableInAppMessage[] | undefined> {
80
return await new Promise((resolve) => {
81
resolve(MockRNIterableAPI.messages);
0 commit comments