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 0b7ca4f commit 8f79883Copy full SHA for 8f79883
1 file changed
ts/__tests__/Iterable.spec.ts
@@ -26,20 +26,23 @@ beforeEach(() => {
26
27
test("set/get email", () => {
28
Iterable.setEmail("user@example.com")
29
+
30
return Iterable.getEmail().then(email => {
31
expect(email).toBe("user@example.com")
32
})
33
34
35
test("set/get userId", () => {
36
Iterable.setUserId("user1")
37
38
return Iterable.getUserId().then(userId => {
39
expect(userId).toBe("user1")
40
41
42
43
test("disable device for current user", () => {
44
Iterable.disableDeviceForCurrentUser()
45
46
expect(MockRNIterableAPI.disableDeviceForCurrentUser).toBeCalled()
47
48
0 commit comments