[ci] format
This commit is contained in:
parent
262a24b5c3
commit
7747f0099a
2 changed files with 19 additions and 25 deletions
|
@ -47,9 +47,7 @@ describe('LitElement test', function () {
|
|||
|
||||
// test 5: object reactive property set
|
||||
// by default objects will be stringified to [object Object]
|
||||
expect(stripExpressionMarkers($('#default').html())).to.include(
|
||||
`<div id="data">data: 1</div>`
|
||||
);
|
||||
expect(stripExpressionMarkers($('#default').html())).to.include(`<div id="data">data: 1</div>`);
|
||||
|
||||
// test 6: reactive properties are not rendered as attributes
|
||||
expect($('#default').attr('obj')).to.equal(undefined);
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
export default (element: HTMLElement) =>
|
||||
async (
|
||||
Component: any,
|
||||
props: Record<string, any>,
|
||||
) => {
|
||||
export default (element: HTMLElement) => async (Component: any, props: Record<string, any>) => {
|
||||
// Get the LitElement element instance (may or may not be upgraded).
|
||||
const component = element.children[0] as HTMLElement;
|
||||
|
||||
|
|
Loading…
Reference in a new issue