FEATURE: HTML to Markdown conversion using native JavaScript ES6 classes (#5425)

This commit is contained in:
Vinoth Kannan
2017-12-15 10:28:20 +05:30
committed by GitHub
parent 0a863dd031
commit f0497ee9c4
6 changed files with 426 additions and 24 deletions

View File

@ -2,7 +2,7 @@ import createStore from 'helpers/create-store';
QUnit.module("lib:category-link");
import parseHTML from 'helpers/parse-html';
import parseHTML from 'discourse/helpers/parse-html';
import { categoryBadgeHTML } from "discourse/helpers/category-link";
QUnit.test("categoryBadge without a category", assert => {
@ -44,4 +44,4 @@ QUnit.test("allowUncategorized", assert => {
assert.blank(categoryBadgeHTML(uncategorized), "it doesn't return HTML for uncategorized by default");
assert.present(categoryBadgeHTML(uncategorized, {allowUncategorized: true}), "it returns HTML");
});
});