send-mail/node_modules/showdown/test/node/testsuite.makemd.js
dougpagani 2095e6ffe3
Add markdown format support (#25)
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2020-11-30 18:51:34 +01:00

13 lines
416 B
JavaScript

var bootstrap = require('../bootstrap.js'),
converter = new bootstrap.showdown.Converter(),
testsuite = bootstrap.getHtmlToMdTestSuite('test/makeMd/'),
assertion = bootstrap.assertion;
describe('makeMd() standard testsuite', function () {
'use strict';
for (var i = 0; i < testsuite.length; ++i) {
it(testsuite[i].name.replace(/-/g, ' '), assertion(testsuite[i], converter, 'makeMd'));
}
});