mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
13 lines
419 B
JavaScript
13 lines
419 B
JavaScript
var showdown = require('../../dist/showdown.js'),
|
|
converter = new showdown.Converter(),
|
|
bootstrap = require('../bootstrap.js'),
|
|
assertion = bootstrap.assertion,
|
|
testsuite = bootstrap.getTestSuite('test/cases/');
|
|
|
|
describe('makeHtml() standard testsuite', function () {
|
|
'use strict';
|
|
for (var i = 0; i < testsuite.length; ++i) {
|
|
it(testsuite[i].name, assertion(testsuite[i], converter));
|
|
}
|
|
});
|