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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
373 B
JavaScript
Raw Normal View History

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);
2017-06-14 13:57:58 -04:00
}