3 lines
129 B
JavaScript
Vendored
3 lines
129 B
JavaScript
Vendored
Cypress.Commands.add('assertRedirect', path => {
|
|
cy.location('pathname').should('eq', `/${path}`.replace(/^\/\//, '/'));
|
|
});
|