From bb0e301db003b8fdb68304f62880bae2a866e513 Mon Sep 17 00:00:00 2001 From: Jen Jones Arnesen Date: Mon, 8 Apr 2024 16:51:35 +0200 Subject: [PATCH] chore: lint again --- cypress/integration/edit/edit_dashboard/show_description.js | 2 +- .../view/view_dashboard/toggle_show_more_dashboards.js | 2 +- .../view/view_errors/error_while_show_description.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/integration/edit/edit_dashboard/show_description.js b/cypress/integration/edit/edit_dashboard/show_description.js index 11aa35d1a..0636ad100 100644 --- a/cypress/integration/edit/edit_dashboard/show_description.js +++ b/cypress/integration/edit/edit_dashboard/show_description.js @@ -30,7 +30,7 @@ When('I click to show description', () => { cy.wait('@toggleDescription') .its('response.statusCode') - .sho.should('be.oneOf', [RESP_CODE_200, RESP_CODE_201]) + .should('be.oneOf', [RESP_CODE_200, RESP_CODE_201]) }) When('I click to hide the description', () => { diff --git a/cypress/integration/view/view_dashboard/toggle_show_more_dashboards.js b/cypress/integration/view/view_dashboard/toggle_show_more_dashboards.js index f3e255f49..2d78fceea 100644 --- a/cypress/integration/view/view_dashboard/toggle_show_more_dashboards.js +++ b/cypress/integration/view/view_dashboard/toggle_show_more_dashboards.js @@ -21,7 +21,7 @@ beforeEach(() => { 'content-type': 'application/json', }, body: '1', - }).then((response) => expect(response.status).to.be.oneOf([RESP_CODE_201, RESP_CODE_200]) + }).then((response) => expect(response.status).to.be.oneOf([RESP_CODE_201, RESP_CODE_200])) }) When('I toggle show more dashboards', () => { diff --git a/cypress/integration/view/view_errors/error_while_show_description.js b/cypress/integration/view/view_errors/error_while_show_description.js index 8cec577d1..c4aa937a9 100644 --- a/cypress/integration/view/view_errors/error_while_show_description.js +++ b/cypress/integration/view/view_errors/error_while_show_description.js @@ -16,7 +16,7 @@ before(() => { 'content-type': 'application/json', }, body: 'false', - }).then((response) => expect(response.status).to.be.oneOf([RESP_CODE_201, RESP_CODE_200]) + }).then((response) => expect(response.status).to.be.oneOf([RESP_CODE_201, RESP_CODE_200])) }) When('clicking to show description fails', () => {