From 106213ce1ee7d5decddee2a7947be48415e2dc0e Mon Sep 17 00:00:00 2001 From: Micaela Estabillo Date: Mon, 28 Oct 2024 14:08:09 -0700 Subject: [PATCH] fix: test data import --- ui/pages/bridge/prepare/bridge-cta-button.test.tsx | 2 +- ui/pages/bridge/quotes/bridge-quote-card.test.tsx | 4 ++-- ui/pages/bridge/quotes/bridge-quotes-modal.test.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/pages/bridge/prepare/bridge-cta-button.test.tsx b/ui/pages/bridge/prepare/bridge-cta-button.test.tsx index e5af065acf15..91adb422e22b 100644 --- a/ui/pages/bridge/prepare/bridge-cta-button.test.tsx +++ b/ui/pages/bridge/prepare/bridge-cta-button.test.tsx @@ -3,7 +3,7 @@ import { renderWithProvider } from '../../../../test/jest'; import configureStore from '../../../store/store'; import { createBridgeMockStore } from '../../../../test/jest/mock-store'; import { CHAIN_IDS } from '../../../../shared/constants/network'; -import { mockBridgeQuotesNativeErc20 } from '../../../../test/data/bridge/mock-quotes-native-erc20'; +import mockBridgeQuotesNativeErc20 from '../../../../test/data/bridge/mock-quotes-native-erc20.json'; // TODO: Remove restricted import // eslint-disable-next-line import/no-restricted-paths import { RequestStatus } from '../../../../app/scripts/controllers/bridge/constants'; diff --git a/ui/pages/bridge/quotes/bridge-quote-card.test.tsx b/ui/pages/bridge/quotes/bridge-quote-card.test.tsx index 745f105fbe04..b9bfc69e8e5a 100644 --- a/ui/pages/bridge/quotes/bridge-quote-card.test.tsx +++ b/ui/pages/bridge/quotes/bridge-quote-card.test.tsx @@ -3,8 +3,8 @@ import { renderWithProvider } from '../../../../test/jest'; import configureStore from '../../../store/store'; import { createBridgeMockStore } from '../../../../test/jest/mock-store'; import { CHAIN_IDS } from '../../../../shared/constants/network'; -import { mockBridgeQuotesErc20Erc20 } from '../../../../test/data/bridge/mock-quotes-erc20-erc20'; -import { mockBridgeQuotesNativeErc20 } from '../../../../test/data/bridge/mock-quotes-native-erc20'; +import mockBridgeQuotesErc20Erc20 from '../../../../test/data/bridge/mock-quotes-erc20-erc20.json'; +import mockBridgeQuotesNativeErc20 from '../../../../test/data/bridge/mock-quotes-native-erc20.json'; // TODO: Remove restricted import // eslint-disable-next-line import/no-restricted-paths import { RequestStatus } from '../../../../app/scripts/controllers/bridge/constants'; diff --git a/ui/pages/bridge/quotes/bridge-quotes-modal.test.tsx b/ui/pages/bridge/quotes/bridge-quotes-modal.test.tsx index 94cb6644db46..0431f1b8eada 100644 --- a/ui/pages/bridge/quotes/bridge-quotes-modal.test.tsx +++ b/ui/pages/bridge/quotes/bridge-quotes-modal.test.tsx @@ -2,7 +2,7 @@ import React from 'react'; // TODO: Remove restricted import // eslint-disable-next-line import/no-restricted-paths import { RequestStatus } from '../../../../app/scripts/controllers/bridge/constants'; -import { mockBridgeQuotesErc20Erc20 } from '../../../../test/data/bridge/mock-quotes-erc20-erc20'; +import mockBridgeQuotesErc20Erc20 from '../../../../test/data/bridge/mock-quotes-erc20-erc20.json'; import { createBridgeMockStore } from '../../../../test/jest/mock-store'; import { renderWithProvider } from '../../../../test/lib/render-helpers'; import configureStore from '../../../store/store';