discourse/test/javascripts/components/image-uploader-test.js.es6
2018-11-12 16:06:32 +08:00

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"
);
}
});