import { expect , fixture } from "@open-wc/testing" ; import { TextArea } from "../index" ; describe ( "TextArea" , ( ) => { describe ( "accessibility" , ( ) => { it ( "event mousedown" , async ( ) => { const container = new TextArea ( ) ; const el = await fixture ( container ) ; el . querySelector ( ".kuc-textarea__group__resizer" ) ! . dispatchEvent ( new CustomEvent ( "mousedown" ) ) ; } ) ; it ( "event mousemove" , async ( ) => { const container = new TextArea ( ) ; const event = new CustomEvent ( "mousemove" ) ; document . dispatchEvent ( event ) ; } ) ; it ( "event mouseup" , async ( ) => { const container = new TextArea ( ) ; const event = new CustomEvent ( "mouseup" ) ; document . dispatchEvent ( event ) ; } ) ; } ) ; } ) ;