showdown/test/node/testsuite.issues.js

15 lines
442 B
JavaScript
Raw Normal View History

/**
* Created by Estevao on 08-06-2015.
*/
var bootstrap = require('../bootstrap.js'),
converter = new bootstrap.showdown.Converter(),
assertion = bootstrap.assertion,
testsuite = bootstrap.getTestSuite('test/issues/');
describe('makeHtml() issues 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));
}
});