From: Haoqun Jiang Date: Fri, 3 Jun 2022 02:41:43 +0000 (+0800) Subject: fix: fix syntax errors X-Git-Tag: v3.2.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2be261bc42eef3ac73c010e476e356748a9aabad;p=thirdparty%2Fvuejs%2Fcreate-vue.git fix: fix syntax errors --- 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'