mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-11 18:56:41 +00:00
20 lines
620 B
TypeScript
20 lines
620 B
TypeScript
![]() |
import { module, test } from 'qunit';
|
||
|
import { setupRenderingTest } from 'ember-qunit';
|
||
|
import { render } from '@ember/test-helpers';
|
||
|
import hbs from 'htmlbars-inline-precompile';
|
||
|
import { stubService } from '@datahub/utils/test-helpers/stub-service';
|
||
|
|
||
|
module('Integration | Component | foxie/foxie-main', function(hooks) {
|
||
|
setupRenderingTest(hooks);
|
||
|
|
||
|
test('it renders', async function(assert) {
|
||
|
stubService('configurator', {
|
||
|
getConfig(): boolean {
|
||
|
return true;
|
||
|
}
|
||
|
});
|
||
|
await render(hbs`<Foxie::FoxieMain />`);
|
||
|
assert.ok(this.element, 'Initial render is without errors');
|
||
|
});
|
||
|
});
|