Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthkh committed Feb 28, 2022
1 parent 78b3c93 commit 612cd01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/driver/cypress/integration/cypress/log_spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const $Log = require('@packages/driver/src/cypress/log').default
const { create } = require('@packages/driver/src/cypress/log')

describe('src/cypress/log', function () {
context('#snapshot', function () {
Expand All @@ -11,7 +11,7 @@ describe('src/cypress/log', function () {
this.config = cy.stub()
this.config.withArgs('isInteractive').returns(true)
this.config.withArgs('numTestsKeptInMemory').returns(50)
this.log = $Log.create(Cypress, this.cy, this.state, this.config)
this.log = create(Cypress, this.cy, this.state, this.config)
})

it('creates a snapshot and returns the log', function () {
Expand Down

0 comments on commit 612cd01

Please sign in to comment.