@dbp-topics/sublibrary
Version:
[GitLab Repository](https://github.com/digital-blueprint/sublibrary-app) | [npmjs package](https://www.npmjs.com/package/@dbp-topics/sublibrary) | [Unpkg CDN](https://unpkg.com/browse/@dbp-topics/sublibrary/) | [Sublibrary Bundle](https://gitlab.tugraz.at
41 lines (31 loc) • 875 B
JavaScript
import {assert} from 'chai';
import '../src/dbp-sublibrary-shelving';
import '../src/dbp-sublibrary.js';
suite('dbp-sublibrary-shelving basics', () => {
let node;
suiteSetup(async () => {
node = document.createElement('dbp-sublibrary-shelving');
document.body.appendChild(node);
await node.updateComplete;
});
suiteTeardown(() => {
node.remove();
});
test('should render', () => {
assert(node.shadowRoot !== undefined);
});
});
suite('dbp-sublibrary-app basics', () => {
let node;
suiteSetup(async () => {
node = document.createElement('dbp-app');
document.body.appendChild(node);
await node.updateComplete;
});
suiteTeardown(() => {
node.remove();
});
test('should render', () => {
assert(node.shadowRoot !== undefined);
});
});