mermaid/cypress/platform/bundle-test.js
2019-09-11 18:53:05 +02:00

11 lines
187 B
JavaScript

import mermaid from '../../dist/mermaid.core'
mermaid.initialize({
theme: 'forest',
gantt: { axisFormatter: [
['%Y-%m-%d', (d) => {
return d.getDay() === 1
}]
] }
})