mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 11:54:41 +08:00
DEV: adds afterRender decorator (#8864)
This commit is contained in:
@ -3,10 +3,12 @@ import selectKit from "helpers/select-kit-helper";
|
||||
export function testSelectKitModule(moduleName, options = {}) {
|
||||
moduleForComponent(`select-kit/${moduleName}`, {
|
||||
integration: true,
|
||||
|
||||
beforeEach() {
|
||||
this.set("subject", selectKit());
|
||||
options.beforeEach && options.beforeEach.call(this);
|
||||
},
|
||||
|
||||
afterEach() {
|
||||
options.afterEach && options.afterEach.call(this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user