Revert "remove old markdown engine work-in-progress"
This reverts commit ee470b5317.
This commit is contained in:
@@ -42,6 +42,9 @@ QUnit.assert.cookedPara = function(input, expected, message) {
|
||||
};
|
||||
|
||||
QUnit.test("buildOptions", assert => {
|
||||
assert.ok(buildOptions({ siteSettings: { allow_html_tables: true } }).features.table, 'tables enabled');
|
||||
assert.ok(!buildOptions({ siteSettings: { allow_html_tables: false } }).features.table, 'tables disabled');
|
||||
|
||||
assert.ok(buildOptions({ siteSettings: { enable_emoji: true } }).features.emoji, 'emoji enabled');
|
||||
assert.ok(!buildOptions({ siteSettings: { enable_emoji: false } }).features.emoji, 'emoji disabled');
|
||||
});
|
||||
|
||||
@@ -18,4 +18,4 @@ QUnit.test("extractByKey: converts a list of hashes into a hash of instances of
|
||||
QUnit.test("extractByKey: returns an empty hash if there isn't anything to convert", assert => {
|
||||
assert.deepEqual(Model.extractByKey(), {}, "when called without parameters");
|
||||
assert.deepEqual(Model.extractByKey([]), {}, "when called with an empty array");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user