Browse Source

tests: removed unnecessary non-null assertion

Mokhtar Naamani 3 years ago
parent
commit
89a0420d1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/network-tests/src/misc/mockContentFlow.ts

+ 1 - 1
tests/network-tests/src/misc/mockContentFlow.ts

@@ -51,7 +51,7 @@ export default async function mockContent({ api }: FlowProps): Promise<void> {
   for (let n = 0; n < numberOfRoundsChannel; n++) {
     const createChannels = new CreateChannelsAsMemberFixture(api, memberId, numberOfChannelsPerRound)
     await new FixtureRunner(createChannels).run()
-    createChannels.getCreatedChannels().forEach((id) => channelIds.push(id!.toNumber()))
+    createChannels.getCreatedChannels().forEach((id) => channelIds.push(id.toNumber()))
   }
 
   // Create all videos in same channel