Skip to content

Commit

Permalink
fix failed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthkh committed Nov 8, 2021
1 parent 07b7cb3 commit e4bcacc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/driver/cypress/integration/cy/snapshot_css_spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { $ } = Cypress
const $SnapshotsCss = require('../../../src/cy/snapshots_css').default
const { create } = require('../../../src/cy/snapshots_css')

const normalizeStyles = (styles) => {
return styles
Expand All @@ -17,7 +17,7 @@ describe('driver/src/cy/snapshots_css', () => {
let snapshotCss

beforeEach(() => {
snapshotCss = $SnapshotsCss.create(cy.$$, cy.state)
snapshotCss = create(cy.$$, cy.state)

cy.viewport(400, 600)
cy.visit('/fixtures/generic.html').then(() => {
Expand Down

0 comments on commit e4bcacc

Please sign in to comment.