mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 20:19:13 +00:00
fix textarea tests
This commit is contained in:
@@ -61,7 +61,7 @@ describe('<wa-textarea>', () => {
|
||||
|
||||
it('should focus the textarea when clicking on the label', async () => {
|
||||
const el = await fixture<WaTextarea>(html` <wa-textarea label="Name"></wa-textarea> `);
|
||||
const label = el.shadowRoot!.querySelector('[part~="form-control-label"]')!;
|
||||
const label = el.shadowRoot!.querySelector('[part~="label"]')!;
|
||||
const submitHandler = sinon.spy();
|
||||
|
||||
el.addEventListener('wa-focus', submitHandler);
|
||||
|
||||
Reference in New Issue
Block a user