Closed robmoffat closed 1 year ago
Run conformance test getCurrentChannel (FDC31.2)
Promise of null
Exception thrown;
getCurrentChannel: async () => { const result: ChannelData = await sendMessage( FDC3_1_2_TOPICS.GET_CURRENT_CHANNEL, {}, ); return createChannelObject( result.id, result.type, result.displayMetadata || { name: result.id }, ); },
in the above code from api.ts, result is null but nevertheless it tries to create a channel object.
I might try and fix this later if I have time.
Bug Report
Steps to Reproduce:
Run conformance test getCurrentChannel (FDC31.2)
Expected Result:
Promise of null
Actual Result:
Exception thrown;
Additional Context:
in the above code from api.ts, result is null but nevertheless it tries to create a channel object.