]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
fix: fix syntax errors
authorHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 3 Jun 2022 02:41:43 +0000 (10:41 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Fri, 3 Jun 2022 08:41:17 +0000 (16:41 +0800)
template/config/cypress-ct/cypress.config.js
template/config/cypress/cypress.config.js

index 18bd9beca0a33928e61001edb120be194929f10d..c3aba7438c771122cca7f86f6f9476a2704a8fbd 100644 (file)
@@ -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'
index cabb5f9f59d992f2a23950857999fb6ad08afd34..9cf6a19977508071fc39540bf0a49510b8802595 100644 (file)
@@ -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'