mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 11:53:38 +08:00
15 lines
320 B
JavaScript
15 lines
320 B
JavaScript
import componentTest from "helpers/component-test";
|
|
moduleForComponent("image-uploader", { integration: true });
|
|
|
|
componentTest("without image", {
|
|
template: "{{image-uploader}}",
|
|
|
|
test(assert) {
|
|
assert.equal(
|
|
this.$(".d-icon-trash-o").length,
|
|
0,
|
|
"it does not display trash icon"
|
|
);
|
|
}
|
|
});
|