fix: compile cypress to commonjs to fix docker issue

This commit is contained in:
wancat committed 2024-02-28 23:20:29 +08:00
1 parent 2aa1c84e73
commit 818e4e95e4
6 files changed
+26 -14

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
// ***********************************************************
// This example support/e2e.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// 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')