This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/test/javascripts/helpers/widget-test.js

17 lines
373 B
JavaScript

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);
}