@ember/test-helpers
Version:
Helpers for testing Ember.js applications
10 lines • 510 B
TypeScript
import type { FormControl } from './-is-form-control';
/**
* @private
* @param {Element} element - the element to check
* @param {string} text - the text being added to element
* @param {string} testHelper - the test helper context the guard is called from (for Error message)
* @throws if `element` has `maxlength` & `value` exceeds `maxlength`
*/
export default function guardForMaxlength(element: FormControl, text: string, testHelper: string): void;
//# sourceMappingURL=-guard-for-maxlength.d.ts.map