Documentation
¶
Index ¶
- func ContainMessage(expected interface{}) types.GomegaMatcher
- func HaveCode(expected interface{}) types.GomegaMatcher
- func HaveMessage(expected interface{}) types.GomegaMatcher
- func HaveModule(expected interface{}) types.GomegaMatcher
- func HaveValidation(field string, rules ...string) types.GomegaMatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainMessage ¶ added in v2.3.0
func ContainMessage(expected interface{}) types.GomegaMatcher
ContainMessage succeeds if actual is a GraphQL Error that contains the passed-in message.
func HaveCode ¶ added in v2.3.0
func HaveCode(expected interface{}) types.GomegaMatcher
HaveCode succeeds if actual is a GraphQL Error that have the passed-in code extension.
func HaveMessage ¶ added in v2.3.0
func HaveMessage(expected interface{}) types.GomegaMatcher
HaveMessage succeeds if actual is a GraphQL Error that have the passed-in message extension.
func HaveModule ¶ added in v2.3.0
func HaveModule(expected interface{}) types.GomegaMatcher
HaveModule succeeds if actual is a GraphQL Error that have the passed-in module extension.
func HaveValidation ¶ added in v2.3.0
func HaveValidation(field string, rules ...string) types.GomegaMatcher
HaveValidation succeeds if actual is a GraphQL Error that have the passed-in field validation errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.