import { ComponentTestBase } from '../component-test.base'; import { FieldBaseControl } from '../../src/fieldcontrols'; export class FieldControlBaseTest> extends ComponentTestBase { constructor(protected readonly fieldBaseControlType: {new(...args: any[]): T}, private readonly customElementName: string) { super(); } public async createFieldViewModel() { return await this.createAndGetViewModel(`<${this.customElementName}>`, this.customElementName); } }