📅  最后修改于: 2022-03-11 15:02:36.459000             🧑  作者: Mango
it('fails with custom message via overwrite of should', () => {
cy.wrap(1).should('eq', 1, { message: 'custom error message 1'})
cy.wrap(1).should('eq', 2, { message: 'custom error message 2'})
})