Skip to content

Commit

Permalink
DEV: Remove unused testSelectKitModule (discourse#22363)
Browse files Browse the repository at this point in the history
  • Loading branch information
CvX authored Jul 3, 2023
1 parent 68a3328 commit 45c504d
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { click, fillIn, triggerEvent } from "@ember/test-helpers";
import { exists, query, queryAll } from "discourse/tests/helpers/qunit-helpers";
import { isEmpty } from "@ember/utils";
import { moduleForComponent } from "ember-qunit";
import jQuery from "jquery";

function checkSelectKitIsNotExpanded(selector) {
Expand Down Expand Up @@ -307,21 +306,6 @@ export default function selectKit(selector) {
};
}

export function testSelectKitModule(moduleName, options = {}) {
moduleForComponent(`select-kit/${moduleName}`, {
integration: true,

beforeEach() {
this.set("subject", selectKit());
options.beforeEach?.call(this);
},

afterEach() {
options.afterEach?.call(this);
},
});
}

export const DEFAULT_CONTENT = [
{ id: 1, name: "foo" },
{ id: 2, name: "bar" },
Expand Down

0 comments on commit 45c504d

Please sign in to comment.