Skip to content

TestKit: specialized fishForMessage, eventuallyExpectMessage(equalTo:) #474

@ktoso

Description

@ktoso

It would simplify code quite a bit sometimes, so we can avoid writing:

            try self.testKit(first).eventually(within: .seconds(3)) {
                guard try p1e.maybeExpectMessage()?.refs == [ref] else {
                    throw TestError("Expected \(ref) to be in the listing")
                }
            }

It could likely be best implemented using fishForMessage

Metadata

Metadata

Assignees

No one assigned

    Labels

    1 - triagedTicket makes sense and is well defined, ready to be worked onhelp wantedGreat tickets to get started contributing!t:testkit

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions