ソースを参照

tests: removed unnecessary non-null assertion

Mokhtar Naamani 3 年 前
コミット
89a0420d1c
1 ファイル変更1 行追加1 行削除
  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