mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	* 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 ...
		
			
				
	
	
		
			23 lines
		
	
	
		
			683 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			683 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/* 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);
 |