lion/packages/form-core/test/FormRegistrationMixins.test.js
Konstantinos Norgias e17f7bdfa6 feat: upgrade to lit2
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2021-05-20 12:21:43 +02:00

17 lines
446 B
JavaScript

import { LitElement } from '@lion/core';
import { html } from 'lit/static-html.js';
import { runRegistrationSuite } from '../test-suites/FormRegistrationMixins.suite.js';
runRegistrationSuite({
suffix: 'with LitElement',
baseElement: LitElement,
});
runRegistrationSuite({
suffix: 'with LitElement, using shadow dom',
baseElement: class ShadowElement extends LitElement {
render() {
return html`<slot></slot>`;
}
},
});