Skip to content
Snippets Groups Projects
Commit e8a97500 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Update common

parent fdb05403
No related branches found
No related tags found
No related merge requests found
import {i18n} from './i18n.js';
import {html, LitElement} from 'lit-element';
import './vpu-auth';
import commonUtils from 'vpu-common/utils';
import * as commonUtils from 'vpu-common/utils';
class AuthDemo extends LitElement {
constructor() {
......
import {i18n} from './i18n.js';
import {html, LitElement} from 'lit-element';
import JSONLD from 'vpu-common/jsonld'
import commonUtils from 'vpu-common/utils';
import * as commonUtils from 'vpu-common/utils';
/**
* Keycloak auth web component
......
import '../src/vpu-auth';
import '../src/vpu-auth-demo';
describe('vpu-auth basics', () => {
let node;
......@@ -17,3 +18,21 @@ describe('vpu-auth basics', () => {
expect(node).to.have.property('shadowRoot');
});
});
describe('vpu-auth-demo basics', () => {
let node;
beforeEach(async () => {
node = document.createElement('vpu-auth-demo');
document.body.appendChild(node);
await node.updateComplete;
});
afterEach(() => {
node.remove();
});
it('should render', () => {
expect(node).to.have.property('shadowRoot');
});
});
common @ 8a80921c
Subproject commit fdcb4c14ef0375b5dc61d48ca4f59bd6c2561708
Subproject commit 8a80921c5f8ea2b0d1a0a548741d2ca1716a5139
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment