More cypress fixes

This commit is contained in:
Jamie Curnow
2026-01-27 14:02:23 +10:00
parent 7ca48f876b
commit 8ea8286cec
2 changed files with 2 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ Cypress.Commands.add("validateSwaggerFile", (url, savePath) => {
.then((response) => cy.writeFile(savePath, response.body, { log: false }))
.then(() => cy.exec(`yarn swagger-lint '${savePath}'`, { failOnNonZeroExit: false }))
.then((result) => cy.task('log', `Swagger Vacuum Results:\n${result.stdout || ''}`)
.then(() => expect(result.code).to.eq(0)));
.then(() => expect(result.exitCode).to.eq(0)));
});
});