2.1.2 version- errors with the body format. The cause is in the highlight.js file
Open
- Dominant language
- TypeScript
- Stars
- 210
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
When the body looks like this : { "forwardTo": " " } , Cypress cy.api returns an error. It works fine with the cy.request and with the previous cy.api version.


Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure with a body shaped like { "forwardTo": " " } in cy.api, then compare it with cy.request and the previous cy.api version. Inspect the highlight.js file identified in the report; done means cy.api accepts this body format without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cypress, typescript
- Domain
- api, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100