mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
17 lines
546 B
JavaScript
17 lines
546 B
JavaScript
/**
|
|
* Created by Estevao on 08-06-2015.
|
|
*/
|
|
|
|
var bootstrap = require('./makehtml.bootstrap.js'),
|
|
converter = new bootstrap.showdown.Converter({noHeaderId: true}),
|
|
assertion = bootstrap.assertion,
|
|
testsuite = bootstrap.getTestSuite('test/functional/cases/karlcow/');
|
|
|
|
//MD-Testsuite (borrowed from karlcow/markdown-testsuite)
|
|
describe('makeHtml() karlcow testsuite', function () {
|
|
'use strict';
|
|
for (var i = 0; i < testsuite.length; ++i) {
|
|
it(testsuite[i].name.replace(/-/g, ' '), assertion(testsuite[i], converter));
|
|
}
|
|
});
|