discourse/test/javascripts/helpers/widget-test.js

Failed to ignore revisions in .git-blame-ignore-revs.

17 lines
373 B
JavaScript
Raw Normal View History

2018-06-15 11:03:24 -04:00
import componentTest from "helpers/component-test";
export function moduleForWidget(name, options = {}) {
moduleForComponent(
name,
`widget:${name}`,
Object.assign(
{ integration: true },
{ beforeEach: options.beforeEach, afterEach: options.afterEach }
)
);
}
export function widgetTest(name, opts) {
return componentTest(name, opts);
2018-06-15 11:03:24 -04:00
}