showdown/test/functional/makehtml/testsuite.standard.js
Estevao Soares dos Santos 19d2e9f9d4 test: testsuite refactoring
2017-12-22 15:28:41 +00:00

16 lines
472 B
JavaScript

/**
* Created by Estevao on 08-06-2015.
*/
var bootstrap = require('./makehtml.bootstrap.js'),
converter = new bootstrap.showdown.Converter(),
assertion = bootstrap.assertion,
testsuite = bootstrap.getTestSuite('test/functional/cases/standard/');
describe('makeHtml() standard testsuite', function () {
'use strict';
for (var i = 0; i < testsuite.length; ++i) {
it(testsuite[i].name.replace(/-/g, ' '), assertion(testsuite[i], converter));
}
});