now you can use directlt svgcanvas. see readme.md * configure workspaces * move svgcanvas to packages folder * move utils to common and paint to svgcanvas * make svgcanvas a dependency of svgedit * update deps * workspaces requires npm 7 at least so the ci needs a new node version * update github actions to V3 * update snapshots using custom svg exports * remove unmaintained cypress snapshot plugin * new github action to add coverage in PR * Update onpushandpullrequest.yml * svgcanvas v7.1.6
19 lines
553 B
JavaScript
19 lines
553 B
JavaScript
const { defineConfig } = require('cypress')
|
|
|
|
module.exports = defineConfig({
|
|
video: false,
|
|
defaultCommandTimeout: 10000,
|
|
pageLoadTimeout: 120000,
|
|
includeShadowDom: true,
|
|
scrollBehavior: false,
|
|
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('./cypress/plugins/index.js')(on, config)
|
|
},
|
|
baseUrl: 'http://localhost:8000',
|
|
excludeSpecPattern: ['**/__snapshots__/*', '**/__image_snapshots__/*']
|
|
}
|
|
})
|