diff --git a/example/src/tests/createdAtTests.ts b/example/src/tests/createdAtTests.ts index 908b03720..da66ebaec 100644 --- a/example/src/tests/createdAtTests.ts +++ b/example/src/tests/createdAtTests.ts @@ -52,7 +52,7 @@ test('group createdAt matches listGroups', async () => { assert( alixGroups[second].createdAt === boGroup.createdAt, 'Second group returned from listGroups shows ' + - alixGroups[second].createdAt + + alixGroups[second].createdAt + ' but should be ' + boGroup.createdAt ) @@ -99,7 +99,7 @@ test('group createdAt matches listAll', async () => { assert( alixGroups[first].createdAt === alixGroup.createdAt, 'alix group returned from listGroups shows createdAt ' + - alixGroups[1].createdAt + + alixGroups[1].createdAt + ' but should be ' + alixGroup.createdAt ) @@ -108,7 +108,7 @@ test('group createdAt matches listAll', async () => { assert( alixGroups[second].createdAt === boGroup.createdAt, 'bo group returned from listGroups shows createdAt ' + - alixGroups[0].createdAt + + alixGroups[0].createdAt + ' but should be ' + boGroup.createdAt ) @@ -233,7 +233,9 @@ test('conversation createdAt matches list', async () => { const alixConversation = await alix.conversations.newConversation(bo.address) // bo creates a conversation - const caroConversation = await caro.conversations.newConversation(alix.address) + const caroConversation = await caro.conversations.newConversation( + alix.address + ) // Fetch conversations using list() method const alixConversations = await alix.conversations.list() @@ -274,7 +276,9 @@ test('conversation createdAt matches listAll', async () => { const alixConversation = await alix.conversations.newConversation(bo.address) // bo creates a group - const caroConversation = await caro.conversations.newConversation(alix.address) + const caroConversation = await caro.conversations.newConversation( + alix.address + ) // Fetch conversations using list() method const alixConversations = await alix.conversations.listAll() @@ -324,7 +328,9 @@ test('conversation createdAt matches stream', async () => { await delayToPropogate() // bo creates a conversation - const caroConversation = await caro.conversations.newConversation(alix.address) + const caroConversation = await caro.conversations.newConversation( + alix.address + ) await delayToPropogate() @@ -381,7 +387,9 @@ test('conversation createdAt matches streamAll', async () => { await delayToPropogate() // bo creates a group - const caroConversation = await caro.conversations.newConversation(alix.address) + const caroConversation = await caro.conversations.newConversation( + alix.address + ) await delayToPropogate() diff --git a/example/src/tests/tests.ts b/example/src/tests/tests.ts index f4fafd2fa..9bb221b4a 100644 --- a/example/src/tests/tests.ts +++ b/example/src/tests/tests.ts @@ -244,9 +244,9 @@ test('can load 1995 conversations from dev network "2k lens convos" account', as xmtpClient.address === '0x209fAEc92D9B072f3E03d6115002d6652ef563cd', 'Address: ' + xmtpClient.address ) - let start = Date.now() + const start = Date.now() const conversations = await xmtpClient.conversations.list() - let end = Date.now() + const end = Date.now() console.log( `Loaded ${conversations.length} conversations in ${end - start}ms` )