Skip to content

Commit

Permalink
Fix for app component test
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueWinds committed Nov 9, 2022
1 parent 17003e9 commit 9c2f198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app/src/specs/SpecItem.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('SpecItem', () => {
const parentColor = getComputedStyle($el.parent()[0]).color
const highlightedElementColor = getComputedStyle($el[0]).color

cy.wrap(highlightedElementColor).should('not.equal', parentColor)
expect(highlightedElementColor).not.to.equal(parentColor)
})
})

Expand All @@ -35,7 +35,7 @@ describe('SpecItem', () => {
const parentColor = getComputedStyle($el.parent()[0]).color
const highlightedElementColor = getComputedStyle($el[0]).color

cy.wrap(highlightedElementColor).should('equal', parentColor)
expect(highlightedElementColor).to.equal(parentColor)
})
})

Expand Down

0 comments on commit 9c2f198

Please sign in to comment.