FIX: Raw jQuery usage in tests

This commit is contained in:
Robin Ward 2020-07-20 15:13:49 -04:00
parent 71b0400501
commit a78b256e8b

View File

@ -3,10 +3,10 @@ import componentTest from "helpers/component-test";
moduleForComponent("d-icon", { integration: true });
componentTest("default", {
template: '{{d-icon "bars"}}',
template: '<div class="test">{{d-icon "bars"}}</div>',
test(assert) {
const html = this.$()
const html = find(".test")
.html()
.trim();
assert.equal(
@ -17,10 +17,10 @@ componentTest("default", {
});
componentTest("with replacement", {
template: '{{d-icon "d-watching"}}',
template: '<div class="test">{{d-icon "d-watching"}}</div>',
test(assert) {
const html = this.$()
const html = find(".test")
.html()
.trim();
assert.equal(