mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 09:52:36 +02:00
f5313fda40
* ci: use ubuntu container for edge runner * chore: upgrade CHANGELOG.md * chore: fix linter in cypress config
20 lines
595 B
TypeScript
20 lines
595 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',
|
|
},
|
|
});
|