Skip to content

Commit

Permalink
FIX: Raw jQuery usage in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eviltrout committed Jul 20, 2020
1 parent 71b0400 commit a78b256
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/javascripts/components/d-icon-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand Down

0 comments on commit a78b256

Please sign in to comment.