matchers

package
v0.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MaxFailures = 2

Variables

This section is empty.

Functions

func BeSuccessState

func BeSuccessState() types.GomegaMatcher

BeSuccessState is a gomega custom matcher for checking that the result of receiving from a `chan domain.LastOperationState` is a successful state. It mostly works like the `Receive(Equal(state))` matcher, but with the addition that it understands how to bail out early from terminal conditions, making it useful for use in Eventually calls polling the state chan

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL