showdown/test/node/testsuite.standard.js

13 lines
419 B
JavaScript
Raw Normal View History

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 () {
2015-06-17 08:26:50 +08:00
'use strict';
for (var i = 0; i < testsuite.length; ++i) {
it(testsuite[i].name, assertion(testsuite[i], converter));
}
});