Skip to content
Snippets Groups Projects
Commit 35b81303 authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Merge branch 'master' into 'main'

Master

See merge request !314
parents c90cbd94 fe5be3fb
No related branches found
No related tags found
1 merge request!314Master
Pipeline #212877 failed
import {assert} from '@esm-bundle/chai';
import '../src/dbp-theme-switcher';
import '../src/demo';
suite('dbp-theme-switcher basics', () => {
let node;
setup(async () => {
node = document.createElement('dbp-theme-switcher');
document.body.appendChild(node);
await node.updateComplete;
});
teardown(() => {
node.remove();
});
test('should render', () => {
assert.isNotNull(node.shadowRoot);
});
});
suite('dbp-theme-switcher demo', () => {
let node;
setup(async () => {
node = document.createElement('dbp-theme-switcher-demo');
document.body.appendChild(node);
await node.updateComplete;
});
teardown(() => {
node.remove();
});
test('should render', () => {
assert.isNotNull(node.shadowRoot);
});
});
......@@ -133,7 +133,7 @@ A full example can be found in each application in the `index.html` of the `app-
## Note
The classes should be defined outside of the body tag.
The classes should be defined outside the body tag.
## Local development
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment