@@ -536,11 +536,11 @@ export class TestingToBeMatchers extends TestingExpect {
536
536
}
537
537
538
538
/**
539
- * Expects provided value to be a `string` type or an instance of a `String` of the specified length. The method uses `isStringLength()`
539
+ * Expects provided value to be a `string` type or an instance of a `String` of the given length. The method uses `isStringLength()`
540
540
* function from the `@angular-package/type`.
541
- * @param value The value of any type that is checked against a `string` type or an instance of a `String` of the specified `length` and
541
+ * @param value The value of any type that is checked against a `string` type or an instance of a `String` of the given `length` and
542
542
* the result of its check is passed to the `expect()` function of jasmine.
543
- * @param length The length of generic type variable `Length` for the given `value`,
543
+ * @param length The ** length** of generic type variable `Length` for the given `value`,
544
544
* @param expected The expected `value` of a `boolean` to compare against the result of the `value` check that is passed to the `toBe()`
545
545
* method of `jasmine.Matchers`.
546
546
* @param expectationFailOutput An additional message when the matcher fails, by default, states the value should be (or not) a `string`
@@ -553,7 +553,7 @@ export class TestingToBeMatchers extends TestingExpect {
553
553
expected : jasmine . Expected < boolean > = true ,
554
554
expectationFailOutput : any = `${ this . expectationFailOutput } ${
555
555
this . getNot ( ) === true ? `not` : ``
556
- } be a \`string\` type or an instance of a \`String\` of the \`length\` equal to ${ length } `
556
+ } be a \`string\` type or an instance of a \`String\` of the specified \`length\` equal to ${ length } `
557
557
) : this {
558
558
this . toBe ( is . stringLength ( value , length ) , expected , expectationFailOutput ) ;
559
559
return this ;
@@ -562,8 +562,8 @@ export class TestingToBeMatchers extends TestingExpect {
562
562
/**
563
563
* Expects provided value to be a `string` type or an instance of a `String` of the length between the given minimum and maximum. The
564
564
* method uses `isStringLengthBetween()` function from the `@angular-package/type`.
565
- * @param value The value of any type that is checked against a `string` type or an instance of a `String` of the specified `length ` and
566
- * the result of its check is passed to the `expect()` function of jasmine.
565
+ * @param value The value of any type that is checked against a `string` type or an instance of a `String` of the given `min ` and `max`
566
+ * and the result of its check is passed to the `expect()` function of jasmine.
567
567
* @param min The **minimum** length of generic type variable `Min` of the given `value`.
568
568
* @param max The **maximum** length of generic type variable `Max` of the given `value`.
569
569
* @param expected The expected `value` of a `boolean` to compare against the result of the `value` check that is passed to the `toBe()`
0 commit comments