Added test of usage via webpack to the e2e tests

This commit is contained in:
Knut Sveidqvist
2019-06-09 06:49:40 -07:00
parent c6abc43ca5
commit 2f7da8b577
16 changed files with 52 additions and 1 deletions

View File

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