Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
simonihmig committed Sep 15, 2024
1 parent 633b044 commit e30ff13
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module("Integration: Responsive Image Component", function (hooks) {

assert.dom("img").hasAttribute("width");
assert.dom("img").hasAttribute("height");
// @ts-expect-error closeTo is not types yet
assert.closeTo(
parseInt(
this.element.querySelector("img")?.getAttribute("width") ?? "",
Expand Down

0 comments on commit e30ff13

Please sign in to comment.