From 5bceb8998ba0c71068e832745be0998824bc846a Mon Sep 17 00:00:00 2001 From: Jan Nanista Date: Fri, 9 Feb 2024 11:50:03 -0800 Subject: [PATCH] fix: Fix imports in jest test setups --- packages/devtools-evm/jest.setup.js | 2 +- packages/devtools/jest.setup.js | 2 +- tests/devtools-evm-hardhat-test/jest.setup.js | 2 +- tests/ua-devtools-evm-hardhat-test/jest.setup.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/devtools-evm/jest.setup.js b/packages/devtools-evm/jest.setup.js index 1d9987a59..956faa4d5 100644 --- a/packages/devtools-evm/jest.setup.js +++ b/packages/devtools-evm/jest.setup.js @@ -1,4 +1,4 @@ -import jestExtended from 'jest-extended'; +import * as jestExtended from 'jest-extended'; // add all jest-extended matchers expect.extend(jestExtended); diff --git a/packages/devtools/jest.setup.js b/packages/devtools/jest.setup.js index 1d9987a59..956faa4d5 100644 --- a/packages/devtools/jest.setup.js +++ b/packages/devtools/jest.setup.js @@ -1,4 +1,4 @@ -import jestExtended from 'jest-extended'; +import * as jestExtended from 'jest-extended'; // add all jest-extended matchers expect.extend(jestExtended); diff --git a/tests/devtools-evm-hardhat-test/jest.setup.js b/tests/devtools-evm-hardhat-test/jest.setup.js index 386f37576..d0fa95a14 100644 --- a/tests/devtools-evm-hardhat-test/jest.setup.js +++ b/tests/devtools-evm-hardhat-test/jest.setup.js @@ -1,5 +1,5 @@ import { rmSync } from 'fs'; -import jestExtended from 'jest-extended'; +import * as jestExtended from 'jest-extended'; // add all jest-extended matchers expect.extend(jestExtended); diff --git a/tests/ua-devtools-evm-hardhat-test/jest.setup.js b/tests/ua-devtools-evm-hardhat-test/jest.setup.js index 386f37576..d0fa95a14 100644 --- a/tests/ua-devtools-evm-hardhat-test/jest.setup.js +++ b/tests/ua-devtools-evm-hardhat-test/jest.setup.js @@ -1,5 +1,5 @@ import { rmSync } from 'fs'; -import jestExtended from 'jest-extended'; +import * as jestExtended from 'jest-extended'; // add all jest-extended matchers expect.extend(jestExtended);