feat: Init credential library creation

This commit is contained in:
Susmitha Girumala committed 2021-07-18 14:31:45 -04:00
1 parent 2212c7dd9e
commit 45fc58fe75
16 files changed
+316 -5

No files matched your search

@@ -0,0 +1,29 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module(
'Integration | Component | form/credential-library/index',
function (hooks) {
setupRenderingTest(hooks);
test('it renders', async function (assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.set('myAction', function(val) { ... });
await render(hbs`<Form::CredentialLibrary::Index />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<Form::CredentialLibrary::Index>
template block text
</Form::CredentialLibrary::Index>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
}
);