From 4912128e7fb4d6728991aeda1e54b7697897e66a Mon Sep 17 00:00:00 2001 From: Angela Tran Date: Wed, 9 Oct 2024 15:06:37 +0000 Subject: [PATCH] chore: avoid error about cypress module not being found --- tests/cypress/cypress.config.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/cypress/cypress.config.js b/tests/cypress/cypress.config.js index 55296b755d..6a9a4a82ab 100644 --- a/tests/cypress/cypress.config.js +++ b/tests/cypress/cypress.config.js @@ -1,6 +1,4 @@ -const { defineConfig } = require("cypress"); - -module.exports = defineConfig({ +module.exports = { downloadsFolder: "downloads", fixturesFolder: "fixtures", screenshotsFolder: "screenshots", @@ -15,5 +13,6 @@ module.exports = defineConfig({ }, specPattern: "specs/**/*.cy.{js,jsx,ts,tsx}", supportFile: false, + baseUrl: "http://localhost:11369", }, -}); +};