showdown/test/node/testsuite.karlcow.js
Estevão Soares dos Santos 1d149c8806 chore: fix jshint
2015-06-17 01:26:50 +01:00

14 lines
496 B
JavaScript

var showdown = require('../../dist/showdown.js'),
converter = new showdown.Converter({noHeaderId: true}),
bootstrap = require('../bootstrap.js'),
assertion = bootstrap.assertion,
testsuite = bootstrap.getTestSuite('test/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, assertion(testsuite[i], converter));
}
});