showdown/test/functional/makehtml/testsuite.standard.js

16 lines
481 B
JavaScript
Raw Normal View History

2017-12-22 23:28:41 +08:00
/**
* Created by Estevao on 08-06-2015.
*/
var bootstrap = require('./makehtml.bootstrap.js'),
converter = new bootstrap.showdown.Converter(),
assertion = bootstrap.assertion,
2017-12-23 20:35:31 +08:00
testsuite = bootstrap.getTestSuite('test/functional/makehtml/cases/standard/');
describe('makeHtml() standard testsuite', function () {
2015-06-17 08:26:50 +08:00
'use strict';
for (var i = 0; i < testsuite.length; ++i) {
2015-10-19 09:50:32 +08:00
it(testsuite[i].name.replace(/-/g, ' '), assertion(testsuite[i], converter));
}
});