diff --git a/app/__mocks__/pngMock.ts b/app/__mocks__/pngMock.js similarity index 100% rename from app/__mocks__/pngMock.ts rename to app/__mocks__/pngMock.js diff --git a/app/__mocks__/react-native-device-info.ts b/app/__mocks__/react-native-device-info.js similarity index 100% rename from app/__mocks__/react-native-device-info.ts rename to app/__mocks__/react-native-device-info.js diff --git a/app/__mocks__/react-native-splash-screen.ts b/app/__mocks__/react-native-splash-screen.js similarity index 100% rename from app/__mocks__/react-native-splash-screen.ts rename to app/__mocks__/react-native-splash-screen.js diff --git a/app/__mocks__/react-native-view-shot.ts b/app/__mocks__/react-native-view-shot.js similarity index 100% rename from app/__mocks__/react-native-view-shot.ts rename to app/__mocks__/react-native-view-shot.js diff --git a/app/__mocks__/rn-fetch-blob.ts b/app/__mocks__/rn-fetch-blob.js similarity index 100% rename from app/__mocks__/rn-fetch-blob.ts rename to app/__mocks__/rn-fetch-blob.js diff --git a/app/__mocks__/svgMock.ts b/app/__mocks__/svgMock.js similarity index 100% rename from app/__mocks__/svgMock.ts rename to app/__mocks__/svgMock.js diff --git a/app/actions/infuraAvailability/index.ts b/app/actions/infuraAvailability/index.js similarity index 100% rename from app/actions/infuraAvailability/index.ts rename to app/actions/infuraAvailability/index.js diff --git a/app/components/Base/Keypad/createKeypadRule.test.ts b/app/components/Base/Keypad/createKeypadRule.test.js similarity index 100% rename from app/components/Base/Keypad/createKeypadRule.test.ts rename to app/components/Base/Keypad/createKeypadRule.test.js diff --git a/app/components/Base/Title.stories.tsx b/app/components/Base/Title.stories.js similarity index 100% rename from app/components/Base/Title.stories.tsx rename to app/components/Base/Title.stories.js diff --git a/app/components/UI/Screen/index.tsx b/app/components/UI/Screen/index.js similarity index 100% rename from app/components/UI/Screen/index.tsx rename to app/components/UI/Screen/index.js diff --git a/app/components/UI/StyledButton/StyledButton.stories.tsx b/app/components/UI/StyledButton/StyledButton.stories.js similarity index 100% rename from app/components/UI/StyledButton/StyledButton.stories.tsx rename to app/components/UI/StyledButton/StyledButton.stories.js diff --git a/app/components/UI/Swaps/components/LoadingAnimation/backgroundShapes.ts b/app/components/UI/Swaps/components/LoadingAnimation/backgroundShapes.js similarity index 100% rename from app/components/UI/Swaps/components/LoadingAnimation/backgroundShapes.ts rename to app/components/UI/Swaps/components/LoadingAnimation/backgroundShapes.js diff --git a/app/components/UI/Swaps/components/TokenIcon.test.tsx b/app/components/UI/Swaps/components/TokenIcon.test.js similarity index 100% rename from app/components/UI/Swaps/components/TokenIcon.test.tsx rename to app/components/UI/Swaps/components/TokenIcon.test.js diff --git a/app/components/UI/Swaps/components/TokenSelectButton.test.tsx b/app/components/UI/Swaps/components/TokenSelectButton.test.js similarity index 100% rename from app/components/UI/Swaps/components/TokenSelectButton.test.tsx rename to app/components/UI/Swaps/components/TokenSelectButton.test.js diff --git a/app/components/UI/Swaps/components/__snapshots__/TokenIcon.test.tsx.snap b/app/components/UI/Swaps/components/__snapshots__/TokenIcon.test.js.snap similarity index 100% rename from app/components/UI/Swaps/components/__snapshots__/TokenIcon.test.tsx.snap rename to app/components/UI/Swaps/components/__snapshots__/TokenIcon.test.js.snap diff --git a/app/components/UI/Swaps/components/__snapshots__/TokenSelectButton.test.tsx.snap b/app/components/UI/Swaps/components/__snapshots__/TokenSelectButton.test.js.snap similarity index 100% rename from app/components/UI/Swaps/components/__snapshots__/TokenSelectButton.test.tsx.snap rename to app/components/UI/Swaps/components/__snapshots__/TokenSelectButton.test.js.snap diff --git a/app/components/UI/TransactionElement/utils.test.ts b/app/components/UI/TransactionElement/utils.test.js similarity index 100% rename from app/components/UI/TransactionElement/utils.test.ts rename to app/components/UI/TransactionElement/utils.test.js diff --git a/app/components/UI/UrlAutocomplete/__snapshots__/index.test.tsx.snap b/app/components/UI/UrlAutocomplete/__snapshots__/index.test.js.snap similarity index 100% rename from app/components/UI/UrlAutocomplete/__snapshots__/index.test.tsx.snap rename to app/components/UI/UrlAutocomplete/__snapshots__/index.test.js.snap diff --git a/app/components/UI/UrlAutocomplete/index.test.tsx b/app/components/UI/UrlAutocomplete/index.test.js similarity index 100% rename from app/components/UI/UrlAutocomplete/index.test.tsx rename to app/components/UI/UrlAutocomplete/index.test.js diff --git a/app/components/Views/confirmations/components/TransactionReview/TransactionReviewDetailsCard/__snapshots__/index.test.tsx.snap b/app/components/Views/confirmations/components/TransactionReview/TransactionReviewDetailsCard/__snapshots__/index.test.js.snap similarity index 100% rename from app/components/Views/confirmations/components/TransactionReview/TransactionReviewDetailsCard/__snapshots__/index.test.tsx.snap rename to app/components/Views/confirmations/components/TransactionReview/TransactionReviewDetailsCard/__snapshots__/index.test.js.snap diff --git a/app/components/Views/confirmations/components/TransactionReview/TransactionReviewDetailsCard/index.test.tsx b/app/components/Views/confirmations/components/TransactionReview/TransactionReviewDetailsCard/index.test.js similarity index 100% rename from app/components/Views/confirmations/components/TransactionReview/TransactionReviewDetailsCard/index.test.tsx rename to app/components/Views/confirmations/components/TransactionReview/TransactionReviewDetailsCard/index.test.js diff --git a/app/constants/navigation.ts b/app/constants/navigation.js similarity index 100% rename from app/constants/navigation.ts rename to app/constants/navigation.js diff --git a/app/constants/network.ts b/app/constants/network.js similarity index 100% rename from app/constants/network.ts rename to app/constants/network.js diff --git a/app/constants/onboarding.ts b/app/constants/onboarding.js similarity index 100% rename from app/constants/onboarding.ts rename to app/constants/onboarding.js diff --git a/app/core/PreventScreenshot.ts b/app/core/PreventScreenshot.js similarity index 100% rename from app/core/PreventScreenshot.ts rename to app/core/PreventScreenshot.js diff --git a/app/core/TransactionTypes.ts b/app/core/TransactionTypes.js similarity index 100% rename from app/core/TransactionTypes.ts rename to app/core/TransactionTypes.js diff --git a/app/images/image-icons.ts b/app/images/image-icons.js similarity index 100% rename from app/images/image-icons.ts rename to app/images/image-icons.js diff --git a/app/lib/ens-ipfs/contracts/registry.ts b/app/lib/ens-ipfs/contracts/registry.js similarity index 100% rename from app/lib/ens-ipfs/contracts/registry.ts rename to app/lib/ens-ipfs/contracts/registry.js diff --git a/app/lib/ens-ipfs/contracts/resolver.ts b/app/lib/ens-ipfs/contracts/resolver.js similarity index 100% rename from app/lib/ens-ipfs/contracts/resolver.ts rename to app/lib/ens-ipfs/contracts/resolver.js diff --git a/app/store/migrations/019.test.ts b/app/store/migrations/019.test.js similarity index 100% rename from app/store/migrations/019.test.ts rename to app/store/migrations/019.test.js diff --git a/app/store/migrations/022.test.ts b/app/store/migrations/022.test.js similarity index 100% rename from app/store/migrations/022.test.ts rename to app/store/migrations/022.test.js diff --git a/app/store/migrations/023.test.ts b/app/store/migrations/023.test.js similarity index 100% rename from app/store/migrations/023.test.ts rename to app/store/migrations/023.test.js diff --git a/app/store/migrations/024.test.ts b/app/store/migrations/024.test.js similarity index 100% rename from app/store/migrations/024.test.ts rename to app/store/migrations/024.test.js diff --git a/app/store/migrations/025.test.ts b/app/store/migrations/025.test.js similarity index 100% rename from app/store/migrations/025.test.ts rename to app/store/migrations/025.test.js diff --git a/app/store/migrations/026.test.ts b/app/store/migrations/026.test.js similarity index 100% rename from app/store/migrations/026.test.ts rename to app/store/migrations/026.test.js diff --git a/app/store/migrations/027.test.ts b/app/store/migrations/027.test.js similarity index 100% rename from app/store/migrations/027.test.ts rename to app/store/migrations/027.test.js diff --git a/app/util/dapp-url-list.ts b/app/util/dapp-url-list.js similarity index 100% rename from app/util/dapp-url-list.ts rename to app/util/dapp-url-list.js diff --git a/app/util/device/index.ts b/app/util/device/index.js similarity index 100% rename from app/util/device/index.ts rename to app/util/device/index.js diff --git a/app/util/gasUtils.ts b/app/util/gasUtils.js similarity index 100% rename from app/util/gasUtils.ts rename to app/util/gasUtils.js diff --git a/app/util/test/smart-contracts.ts b/app/util/test/smart-contracts.js similarity index 100% rename from app/util/test/smart-contracts.ts rename to app/util/test/smart-contracts.js diff --git a/app/util/walletconnect.ts b/app/util/walletconnect.js similarity index 100% rename from app/util/walletconnect.ts rename to app/util/walletconnect.js diff --git a/jest.config.js b/jest.config.js index 4fbf54a0c1d..c8c82e0f59a 100644 --- a/jest.config.js +++ b/jest.config.js @@ -39,8 +39,8 @@ const config = { coverageDirectory: '/tests/coverage', maxWorkers: process.env.NODE_ENV === 'production' ? '50%' : '20%', moduleNameMapper: { - '\\.svg': '/app/__mocks__/svgMock.ts', - '\\.png': '/app/__mocks__/pngMock.ts', + '\\.svg': '/app/__mocks__/svgMock.js', + '\\.png': '/app/__mocks__/pngMock.js', '\\webview/index.html': '/app/__mocks__/htmlMock.ts', }, // Disable jest cache