showdown/test/node/testsuite.standard.js
Estevão Soares dos Santos 5b1f716151 chore: normalize test names
2015-10-19 02:50:32 +01:00

12 lines
398 B
JavaScript

var bootstrap = require('../bootstrap.js'),
converter = new bootstrap.showdown.Converter(),
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.replace(/-/g, ' '), assertion(testsuite[i], converter));
}
});