From 93db24b7f7650abac1bb7095026e3a1f367b0c0a Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 11 Dec 2023 17:52:38 +0100 Subject: refactor(pages): refine Contact page * remove next/router dependency * remove pageTitle since it is defined in MDX * reduce statements by grouping messages * mock response with MSW and add test for sendEmail --- tests/cypress/support/e2e.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests/cypress/support/e2e.ts') diff --git a/tests/cypress/support/e2e.ts b/tests/cypress/support/e2e.ts index 37a498f..88361ec 100644 --- a/tests/cypress/support/e2e.ts +++ b/tests/cypress/support/e2e.ts @@ -12,9 +12,5 @@ // You can read more here: // https://on.cypress.io/configuration // *********************************************************** - -// Import commands.js using ES2015 syntax: import './commands'; - -// Alternatively you can use CommonJS syntax: -// require('./commands') +import './msw'; -- cgit v1.2.3