Skip to content

Commit

Permalink
Merge branch 'main' into cv/main-into-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Apr 1, 2024
2 parents 5c865e6 + 742281c commit f9f2c12
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions example/src/LaunchScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,14 @@ export default function LaunchScreen(
accessibilityLabel="Unit-tests"
/>
</View>
<View key="stream-tests" style={{ margin: 16, marginTop: 16 }}>
<Button
color="green"
title="Create Stream Tests"
onPress={() => navigation.navigate('streamTest')}
accessibilityLabel="Unit-tests"
/>
</View>
{signer && (
<>
<View key="connected-dev" style={{ margin: 16 }}>
Expand Down
8 changes: 4 additions & 4 deletions example/src/tests/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@ test('can handle complex streaming setup', async () => {
metadata: {},
})
const allConvMessages: DecodedMessage[] = []
conv1.streamMessages(async (message) => {
await conv1.streamMessages(async (message) => {
allConvMessages.push(message)
})
await conv1.send({ text: 'Hello' })
Expand All @@ -1559,7 +1559,7 @@ test('can handle complex streaming setup', async () => {
metadata: {},
})
const allConv3Messages: DecodedMessage[] = []
conv3.streamMessages(async (message) => {
await conv3.streamMessages(async (message) => {
allConv3Messages.push(message)
})
await conv1.send({ text: 'Hello' })
Expand Down Expand Up @@ -1641,7 +1641,7 @@ test('can handle complex streaming setup with messages from self', async () => {
metadata: {},
})
const allConvMessages: DecodedMessage[] = []
conv1.streamMessages(async (message) => {
await conv1.streamMessages(async (message) => {
allConvMessages.push(message)
})
await conv1.send({ text: 'Hello' })
Expand All @@ -1668,7 +1668,7 @@ test('can handle complex streaming setup with messages from self', async () => {
metadata: {},
})
const allConv3Messages: DecodedMessage[] = []
conv3.streamMessages(async (message) => {
await conv3.streamMessages(async (message) => {
allConv3Messages.push(message)
})
await conv1.send({ text: 'Hello' })
Expand Down

0 comments on commit f9f2c12

Please sign in to comment.