/** * Created by Estevao on 08-06-2015. */ // jshint ignore: start var bootstrap = require('./makehtml.bootstrap.js'), converter = new bootstrap.showdown.Converter(), assertion = bootstrap.assertion, testsuite = bootstrap.getJsonTestSuite('test/functional/makehtml/cases/commonmark.testsuite.json'); describe('makeHtml() commonmark testsuite', function () { 'use strict'; for (var section in testsuite) { if (testsuite.hasOwnProperty(section)) { describe(section, function () { for (var i = 0; i < testsuite[section].length; ++i) { it(testsuite[section][i].name, assertion(testsuite[section][i], converter)); } }); } } });