Typescript Migration: footer (#4031)
migrated chromedash-footer and its test file
This commit is contained in:
Родитель
b0049ed276
Коммит
abfd657595
|
@ -1,6 +1,8 @@
|
|||
import {LitElement, html, css} from 'lit';
|
||||
import {LitElement, css, html} from 'lit';
|
||||
import {customElement} from 'lit/decorators.js';
|
||||
import {SHARED_STYLES} from '../css/shared-css.js';
|
||||
|
||||
@customElement('chromedash-footer')
|
||||
export class ChromedashFooter extends LitElement {
|
||||
static get styles() {
|
||||
return [
|
||||
|
@ -79,5 +81,3 @@ export class ChromedashFooter extends LitElement {
|
|||
`;
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('chromedash-footer', ChromedashFooter);
|
|
@ -9,7 +9,7 @@ describe('chromedash-footer', () => {
|
|||
);
|
||||
assert.exists(component);
|
||||
assert.instanceOf(component, ChromedashFooter);
|
||||
const footer = component.shadowRoot.querySelector('footer');
|
||||
const footer = component.renderRoot.querySelector('footer');
|
||||
assert.exists(footer);
|
||||
|
||||
const links = [
|
Загрузка…
Ссылка в новой задаче