mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
4 lines
129 B
JavaScript
4 lines
129 B
JavaScript
|
Cypress.Commands.add('assertRedirect', path => {
|
||
|
cy.location('pathname').should('eq', `/${path}`.replace(/^\/\//, '/'));
|
||
|
});
|