mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Added test for using a default style
This commit is contained in:
parent
b04f198f3e
commit
85481b2310
@ -71,6 +71,17 @@ test('setting an output directory succeeds', function(t) {
|
||||
})
|
||||
})
|
||||
|
||||
test('not setting a css source file uses a default style', function(t) {
|
||||
t.plan(1)
|
||||
|
||||
var cli = require(cliPath)
|
||||
|
||||
cli.parse([], function(err, msg, opt) {
|
||||
t.ok(opt.css, 'css file is populated')
|
||||
t.end()
|
||||
})
|
||||
})
|
||||
|
||||
test('setting a css source file succeeds', function(t) {
|
||||
t.plan(1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user