mirror of
https://github.com/codex-team/editor.js
synced 2024-06-09 01:12:28 +02:00
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',
|
||
|
},
|
||
|
})
|