From 2be261bc42eef3ac73c010e476e356748a9aabad Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Fri, 3 Jun 2022 10:41:43 +0800 Subject: [PATCH] fix: fix syntax errors --- template/config/cypress-ct/cypress.config.js | 2 +- template/config/cypress/cypress.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template/config/cypress-ct/cypress.config.js b/template/config/cypress-ct/cypress.config.js index 18bd9bec..c3aba743 100644 --- a/template/config/cypress-ct/cypress.config.js +++ b/template/config/cypress-ct/cypress.config.js @@ -1,6 +1,6 @@ const { defineConfig } = require('cypress') -export default defineConfig({ +module.exports = defineConfig({ e2e: { specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}', baseUrl: 'http://localhost:4173' diff --git a/template/config/cypress/cypress.config.js b/template/config/cypress/cypress.config.js index cabb5f9f..9cf6a199 100644 --- a/template/config/cypress/cypress.config.js +++ b/template/config/cypress/cypress.config.js @@ -1,6 +1,6 @@ const { defineConfig } = require('cypress') -export default defineConfig({ +module.exports = defineConfig({ e2e: { specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}', baseUrl: 'http://localhost:4173' -- 2.39.5