testsuite.commonmark.js 698 B

12345678910111213141516171819202122232425
  1. /**
  2. * Created by Estevao on 08-06-2015.
  3. */
  4. // jshint ignore: start
  5. /*
  6. var bootstrap = require('./makehtml.bootstrap.js'),
  7. converter = new bootstrap.showdown.Converter(),
  8. assertion = bootstrap.assertion,
  9. testsuite = bootstrap.getJsonTestSuite('test/functional/makehtml/cases/commonmark.testsuite.json');
  10. describe('makeHtml() commonmark testsuite', function () {
  11. 'use strict';
  12. for (var section in testsuite) {
  13. if (testsuite.hasOwnProperty(section)) {
  14. describe(section, function () {
  15. for (var i = 0; i < testsuite[section].length; ++i) {
  16. it(testsuite[section][i].name, assertion(testsuite[section][i], converter));
  17. }
  18. });
  19. }
  20. }
  21. });
  22. */