From 043a896f713231fc3e2f0b6e15a51408af0b4882 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Tue, 21 Jun 2022 23:16:05 +0200 Subject: [PATCH] fix: cypress plugins import --- cypress.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress.config.ts b/cypress.config.ts index 4b233b3b6..77ab2db8b 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -14,7 +14,7 @@ export default defineConfig({ // We've imported your old cypress plugins here. // You may want to clean this up later by importing these. setupNodeEvents(on, config) { - return require('./cypress/plugins/index.js')(on, config) + return require('./cypress/plugins/index.ts')(on, config) }, baseUrl: 'http://localhost:4173', specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',