Skip to content

Commit

Permalink
Make support folder path dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyWay committed Feb 15, 2022
1 parent a0a3e59 commit e7451cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stubs/support/laravel-commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Cypress.Commands.add('refreshRoutes', () => {
})
.its('body', { log: false })
.then((routes) => {
cy.writeFile('cypress/support/routes.json', routes, {
cy.writeFile(Cypress.config().supportFolder + '/routes.json', routes, {
log: false,
});

Expand Down

0 comments on commit e7451cd

Please sign in to comment.