mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-05 23:29:37 +02:00
Merge branch 'develop' into sidv/parallelE2E
* develop: (28 commits) fix(docs): update link Revert "unify Jison tranformers" Update yarn.lock Revert "fix(test): No esm exports" fix(test): No esm exports fix(docs): `mmd` detection Hope this fails unify Jison tranformers Fix jest Remove `docs:build` from postbuild. Add verification log This should fail CI fix: imports in HTML Revert "Add diagramAPI to outfile" Add `type: module` to package.json chore(deps-dev): bump @types/lodash from 4.14.184 to 4.14.185 Update integrations.md Add vitepress pluin Update mermaid version Fix ports ...
This commit is contained in:
22
cypress.config.cjs
Normal file
22
cypress.config.cjs
Normal file
@@ -0,0 +1,22 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
|
||||
const { defineConfig } = require('cypress');
|
||||
const { addMatchImageSnapshotPlugin } = require('cypress-image-snapshot/plugin');
|
||||
|
||||
module.exports = defineConfig({
|
||||
projectId: 'n2sma2',
|
||||
e2e: {
|
||||
specPattern: 'cypress/integration/**/*.{js,jsx,ts,tsx}',
|
||||
setupNodeEvents(on, config) {
|
||||
addMatchImageSnapshotPlugin(on, config);
|
||||
// copy any needed variables from process.env to config.env
|
||||
config.env.useAppli = process.env.USE_APPLI ? true : false;
|
||||
|
||||
// do not forget to return the changed config object!
|
||||
return config;
|
||||
},
|
||||
},
|
||||
video: false,
|
||||
});
|
||||
|
||||
require('@applitools/eyes-cypress')(module);
|
Reference in New Issue
Block a user