diff --git a/test/test.ts b/test/test.ts index 8e65940..649fc99 100644 --- a/test/test.ts +++ b/test/test.ts @@ -37,11 +37,11 @@ tap.test('create smartuniverse client', async () => { }); tap.test('should add a channel to the universe', async () => { - await testUniverse.addChannel(testChannelData.channelName, testChannelData.channelPass); + testUniverse.addChannel(testChannelData.channelName, testChannelData.channelPass); }); tap.test('should add the same channel to the client universe in the same way', async () => { - await testClientUniverse.addChannel(testChannelData.channelName, testChannelData.channelPass); + testClientUniverse.addChannel(testChannelData.channelName, testChannelData.channelPass); }); tap.test('should start the ClientUniverse', async () => { diff --git a/ts/smartuniverse.classes.universe.ts b/ts/smartuniverse.classes.universe.ts index 8b51846..e75d9c5 100644 --- a/ts/smartuniverse.classes.universe.ts +++ b/ts/smartuniverse.classes.universe.ts @@ -59,7 +59,7 @@ export class Universe { /** * adds a channel to the Universe */ - public async addChannel(nameArg: string, passphraseArg: string) { + public addChannel(nameArg: string, passphraseArg: string) { const newChannel = UniverseChannel.createChannel(this, nameArg, passphraseArg); }