mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-12 03:07:05 +00:00

* Module consolidation on datahub-web - clean up to some OS logic from previous update - initial implementation of virtual assistant * Fix accidental change to datahub user module license
20 lines
865 B
TypeScript
20 lines
865 B
TypeScript
import { module, test } from 'qunit';
|
||
import { setupRenderingTest } from 'ember-qunit';
|
||
import { render } from '@ember/test-helpers';
|
||
import hbs from 'htmlbars-inline-precompile';
|
||
|
||
module('Integration | Component | entity-alert-banner', function(hooks): void {
|
||
setupRenderingTest(hooks);
|
||
|
||
test('it renders', async function(assert): Promise<void> {
|
||
// TODO META-11234: Refactor entity alert banner to be generic
|
||
await render(hbs`<EntityAlertBanner />`);
|
||
|
||
assert
|
||
.dom()
|
||
.hasText(
|
||
'This dataset will be deprecated by May 31st 2020 as part of a company wide horizontal initiative HI 316 . Once deprecated the dataset won’t available there after. Please visit the dataset list to view SOT (Source of Truth) replacement dataset options. For more information, including contact information, please view the wiki .'
|
||
);
|
||
});
|
||
});
|