mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-02 15:16:49 +02:00
added cli_test_run-samples to test samples from commandline; added --outputSuffix option
This commit is contained in:
@@ -154,7 +154,7 @@ function verifyFiles(expected, dir, t) {
|
||||
}
|
||||
, function(err) {
|
||||
t.notOk(err, 'all files passed')
|
||||
var delete_tmps = false
|
||||
var delete_tmps = true
|
||||
var _rimraf=delete_tmps ? rimraf : function(dir, f) { f(0); }
|
||||
_rimraf(dir, function(rmerr) {
|
||||
t.notOk(rmerr, 'cleaned up')
|
||||
|
Reference in New Issue
Block a user