sashafirsov / css-chain

ApiChain and CssChain JS. Inherits collection API from element
Apache License 2.0
4 stars 0 forks source link

TS2345: Argument of type 'LightDomElement' is not assignable #8

Open sashafirsov opened 2 years ago

sashafirsov commented 2 years ago
const el = await fixture<LightDomElement>(
            html`<light-dom-element>
                    <template>
                        <button>action</button>
                    </template>
                </light-dom-element>`
        );
expect($(el).$('button').txt()).to.equal('action');