diff --git a/tests/cypress/plugins/index.js b/tests/cypress/plugins/index.js index 653d4e4825c..8aab1de4b8c 100644 --- a/tests/cypress/plugins/index.js +++ b/tests/cypress/plugins/index.js @@ -43,6 +43,9 @@ module.exports = on => { resolve: { extensions: ['.js', '.jsx', '.ts', '.tsx'], alias, + extensionAlias: { + '.js': ['.js', '.ts'], + }, }, }, }