Browse Source

tests: removed unnecessary non-null assertion

Mokhtar Naamani 3 năm trước cách đây
mục cha
commit
89a0420d1c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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