Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
storycraft committed Mar 14, 2021
1 parent 1b23419 commit 8a2c5af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/network.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ describe('Network', () => {
it('Create loco session', async () => {
const factory = new TalkSessionFactory();

const res = await factory.createSession(DefaultConfiguration);
const res = await factory.connect(DefaultConfiguration);
if (!res.success) throw new Error(`Session creation failed with status: ${res.status}`);
res.result.close();
res.result.stream.close();
});
});

0 comments on commit 8a2c5af

Please sign in to comment.