mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 09:52:36 +02:00
d7f1853ca1
* deps: upgrade cypress and related libraries * chore: automate migrate cypress config, rename spec files * fix: custom commands types * chore: upgrade CHANGELOG.md * ci: upgrade cypress action to support new config file format * ci: remove container from firefox job, upgrade checkout action
20 lines
592 B
TypeScript
20 lines
592 B
TypeScript
import { defineConfig } from 'cypress'
|
|
|
|
export default defineConfig({
|
|
env: {
|
|
NODE_ENV: 'test',
|
|
},
|
|
fixturesFolder: 'test/cypress/fixtures',
|
|
screenshotsFolder: 'test/cypress/screenshots',
|
|
videosFolder: 'test/cypress/videos',
|
|
e2e: {
|
|
// We've imported your old cypress plugins here.
|
|
// You may want to clean this up later by importing these.
|
|
setupNodeEvents(on, config) {
|
|
return require('./test/cypress/plugins/index.ts')(on, config)
|
|
},
|
|
specPattern: 'test/cypress/tests/**/*.cy.{js,jsx,ts,tsx}',
|
|
supportFile: 'test/cypress/support/index.ts',
|
|
},
|
|
})
|