()
| 1809 | } |
| 1810 | |
| 1811 | function listMockProfiles(): RawProfile[] { |
| 1812 | const pubkeys = new Set<string>([ |
| 1813 | ...mockProfiles.keys(), |
| 1814 | ...mockDisplayNames.keys(), |
| 1815 | DEFAULT_REAL_IDENTITY.pubkey, |
| 1816 | ]); |
| 1817 | |
| 1818 | return [...pubkeys] |
| 1819 | .map((pubkey) => getMockProfileByPubkey(pubkey)) |
| 1820 | .filter((profile): profile is RawProfile => profile !== null); |
| 1821 | } |
| 1822 | |
| 1823 | function listMockChannels(config?: E2eConfig): RawChannelWithMembership[] { |
| 1824 | return mockChannels.map((channel) => toRawChannel(channel, config)); |
no test coverage detected