DEV: Remove unused `testSelectKitModule` (#22363)
This commit is contained in:
parent
68a3328999
commit
45c504d024
|
@ -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) {
|
||||
|
@ -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" },
|
||||
|
|
Loading…
Reference in New Issue