import { module, test } from "qunit"; import { setupRenderingTest } from "ember-qunit"; import { click, doubleClick, render } from "@ember/test-helpers"; import { hbs } from "ember-cli-htmlbars"; import { default as ClassicComponent } from "@ember/component"; module("Unit | Lib | ember-action-modifer", function (hooks) { setupRenderingTest(hooks); test("`{{action}}` can target a function", async function (assert) { let i = 0; this.setProperties({ onChildClick: () => this.set("childClicked", i++), childClicked: undefined, }); await render(hbs`