Skip to content

Commit e4bcacc

Browse files
committed
fix failed tests.
1 parent 07b7cb3 commit e4bcacc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/driver/cypress/integration/cy/snapshot_css_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { $ } = Cypress
2-
const $SnapshotsCss = require('../../../src/cy/snapshots_css').default
2+
const { create } = require('../../../src/cy/snapshots_css')
33

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

1919
beforeEach(() => {
20-
snapshotCss = $SnapshotsCss.create(cy.$$, cy.state)
20+
snapshotCss = create(cy.$$, cy.state)
2121

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

0 commit comments

Comments
 (0)