Skip to content

Commit b9401df

Browse files
committed
test: add clarification comment in Iterable.logout test for better understanding
1 parent f72f578 commit b9401df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/classes/Iterable.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ describe('Iterable', () => {
9797

9898
it('should clear email and userId', async () => {
9999
// GIVEN a user is logged in
100+
101+
// This is just for testing purposed.
102+
// Usually you'd either call `setEmail` or `setUserId`, but not both.
100103
Iterable.setEmail('user@example.com');
101104
Iterable.setUserId('user123');
102105
// WHEN Iterable.logout is called

0 commit comments

Comments
 (0)