lion/packages/form-core/test/FormRegistrationMixins.test.js
2021-01-13 17:05:07 +01:00

17 lines
444 B
JavaScript

import { LitElement } from '@lion/core';
import { html } from '@open-wc/testing';
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>`;
}
},
});