How to use the @delon/testing.typeInElement function in @delon/testing

To help you get started, we’ve selected a few @delon/testing examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ng-alain / delon / packages / form / spec / base.spec.ts View on Github external
typeChar(value: any, cls = 'input'): this {
    const node = this.getEl(cls) as HTMLInputElement;
    typeInElement(value, node);
    tick();
    return this.dc();
  }