test: increase coverage for v3 Channels model to 100%#1121
test: increase coverage for v3 Channels model to 100%#1121divyarathodgit wants to merge 1 commit intoasyncapi:masterfrom
Conversation
|
There was a problem hiding this comment.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
|



Increases test coverage for
src/models/v3/channels.tsfrom 25% to 100%.Changes:
test/models/v3/channels.spec.tsto properly instantiate theChannelscollection using an Array (fixing the TypeError).get,has,filterBySend, andfilterByReceive.