Преглед на файлове

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