No manual global mermaid

This commit is contained in:
Tyler Long
2017-09-09 21:47:21 +08:00
parent 5da8c26cb6
commit fc5c07027c
6 changed files with 46 additions and 118 deletions

View File

@@ -5,7 +5,9 @@
/**
* Created by knut on 14-11-23.
*/
var mermaid = require('./mermaid')
import mermaid from './mermaid'
global.mermaid = mermaid
describe('when using mermaid and ', function () {
describe('when detecting chart type ', function () {