mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 20:41:24 +08:00
FEATURE: HTML to Markdown conversion using native JavaScript ES6 classes (#5425)
This commit is contained in:
@ -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");
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user