Skip to content

Add typed expect functions for Expect().Body().JSON()  #31

@Eun

Description

@Eun

We have

Expect().Body().Bytes().Equal([]byte("Hello World"))

but it would also be nice to have

Expect().Body().JSON().Bytes().Equal([]byte("Hello World"))

and

Expect().Body().JSON().JQ(".").Bytes().Equal([]byte("Hello World"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions