Skip to content

cy.route2 does not automatically JSONify an empty array handler #8532

@flotwig

Description

@flotwig

Current behavior:

This is not automatically JSONified:

cy.route2('/favorite-fruits', [])

This is:

cy.route2('/favorite-fruits', ['foo'])

Desired behavior:

Empty arrays are automatically JSONified.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions