From 83528ad74720c2a7c3cf7aef3ad2e05d8cc5e098 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Wed, 29 Mar 2023 11:22:48 +0100 Subject: [PATCH] Use fixed `jest-environment-puppeteer` export See: https://github.com/argos-ci/jest-puppeteer/pull/547 --- config/jest/environment/puppeteer.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/jest/environment/puppeteer.mjs b/config/jest/environment/puppeteer.mjs index 968c53e019..4e20ac7bfd 100644 --- a/config/jest/environment/puppeteer.mjs +++ b/config/jest/environment/puppeteer.mjs @@ -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()