Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Oct 24, 2023
1 parent a291c31 commit b7c328c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const MAX_DASHBOARDS_BAR_HEIGHT = 431
const RESP_CODE_200 = 200
const RESP_CODE_201 = 201


beforeEach(() => {
cy.request({
method: 'PUT',
Expand All @@ -21,7 +20,9 @@ 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', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ 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', () => {
Expand Down

0 comments on commit b7c328c

Please sign in to comment.