mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 22:11:26 +08:00
Revert "Rename all test files from JS -> ES6"
This reverts commit 2abe85b8344de1102c1589a9ac9421a8b296f2b5.
This commit is contained in:
@ -1,14 +0,0 @@
|
||||
import componentTest from "helpers/component-test";
|
||||
moduleForComponent("html-safe-helper", { integration: true });
|
||||
|
||||
componentTest("default", {
|
||||
template: "{{html-safe string}}",
|
||||
|
||||
beforeEach() {
|
||||
this.set("string", "<p class='cookies'>biscuits</p>");
|
||||
},
|
||||
|
||||
async test(assert) {
|
||||
assert.ok(exists("p.cookies"), "it displays the string as html");
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user