Skip to content

Commit

Permalink
Use fixed jest-environment-puppeteer export
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Mar 29, 2023
1 parent 74603de commit 83528ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/jest/environment/puppeteer.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import PuppeteerEnvironment from 'jest-environment-puppeteer'
import { TestEnvironment } from 'jest-environment-puppeteer'

/**
* Automation browser environment
* Adds Puppeteer page/browser globals, shared test globals
*/
class BrowserAutomationEnvironment extends PuppeteerEnvironment {
class BrowserAutomationEnvironment extends TestEnvironment {
async setup () {
await super.setup()

Expand Down

0 comments on commit 83528ad

Please sign in to comment.