mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-15 10:57:58 +00:00
17 lines
476 B
TypeScript
17 lines
476 B
TypeScript
![]() |
import { TestContext } from 'ember-test-helpers';
|
||
|
import Helper from '@ember/component/helper';
|
||
|
|
||
|
export const setupHandlerRegistrations = function(hooks: NestedHooks): void {
|
||
|
hooks.beforeEach(function(this: TestContext) {
|
||
|
// TODO [META-12344] WithBannerOffset lives in data-portal
|
||
|
this.owner.register(
|
||
|
`helper:with-banner-offset`,
|
||
|
class WithBannerOffset extends Helper {
|
||
|
compute(): string {
|
||
|
return '';
|
||
|
}
|
||
|
}
|
||
|
);
|
||
|
});
|
||
|
};
|