Skip to content

Conversation

angularpackage
Copy link
Contributor

[2.0.0-rc] - 2022-01-30

[2.0.0-rc] Added

  • Added stringOfLengthBetween() method of TestingToBeMatchers. 2854f54
  • Added randomNumber() and randomString() helper functions. cbe05f5
  • Added objectKeysIn(), objectSomeKeys(), stringIncludes() and stringIncludesSome() methods of TestingToBeMatchers. 9af6d2f

[2.0.0-rc] Changed

  • Updated stringOfLength() to the single length parameter. d82f066
  • Updated numberBetween() and stringOfLength() methods of TestingToBeMatchers to use MinMax interface from @angular-package/type. 6af0073
    • Change the parameters to min and max of stringOfLength() and numberBetween() method. d82f066
  • Updated default messages of expectation fail output and use withContext() method to display it. 9af6d2f
  • Updated the objectKey(), objectKeyIn(), objectKeys() and numberBetween() methods cause of updated @angular-package/type. 9af6d2f
    • Updated to a new @angular-package/type. 9af6d2f
    • Changed the key property type from Key | Key[] to PropertyKey in the objectKey() objectKeyIn() methods.
    • Changed the keys property type from Key[] to PropertyKey[] in the objectKeys() method.
  • Updated the execute parameter to be optional by setting the default value to true for all methods. dd18b84
  • Testing.prototype.toBeInstanceOfFunction() method uses instanceof operator to validate. dd18b84

[2.0.0-rc] Removed

  • Removed unused toBeResolved() method. dd18b84

…, update `boolean()` `defined()` `false()` `number()` `numberBetween()` `objectKey()` `objectKeyIn()` `objectKeys()` `regexp()` `string()` `stringOfLength()` `true()` `toBe()` methods, add `objectKeysIn()` `objectSomeKeys()` `stringIncludes()` `stringIncludesSome()` and update jsdoc.
…er description and jsdoc of `number()` method.
…l methods, remove `toBeResolved()` method, `toBeInstanceOfFunction() method validates now with only `instanceof` operator, update and fix jsdoc.
…Length()` methods to use `MinMax` interface by respectively `range` and `length` parameters.
@angularpackage angularpackage merged commit 38a4fec into main Jan 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants