Skip to content

Latest commit

 

History

History
113 lines (75 loc) · 5.55 KB

File metadata and controls

113 lines (75 loc) · 5.55 KB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[3.0.0-alpha.3] - 2024-10-31

  • README.md compatibility.

[3.0.0-alpha.2] - 2024-10-31

  • The package built-in angular 18 and files minified to lower unpacked size.
  • Removed peerDependencies of tslib and jasmine.

[3.0.0-alpha.1] - 2024-10-31

  • Added type and override .
  • Removed Storage from tests.

[3.0.0-alpha.0] - 2024-10-30

  • Removed Storage.

[3.0.0-alpha] - 2024-10-30

[3.0.0-alpha] Added

  • Added TestingActual to initialize multiple tests on actual or spy param.
  • Added TestingCustom to include tests on initialization.
  • Added TestingExpectation class with methods directly accessed by using method names instead of nested structure, but using it through the TestingExpectTo.
  • Added expectations directory with classes where methods are accessed by using nested object structure and method names.
  • Added it directory with classes with methods are accessed by using nested object structure and method names.
  • Added testing directory with classes where methods are directly accessed by using method names instead of nested structure, but using it.
  • Added asyncExpect and jasmine matchers.

[3.0.0-alpha] Updated

  • Updated Testing to mixin tests from testing directory.

[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

[1.1.0] - 2021-07-19

Added [1.1.0]

  • Abstract TestingExpect class to manage expect() function of jasmine. 77f326a
  • Class TestingToBeMatchers with matchers that use the toBe() method of jasmine.Matchers. afb98f5
  • Tests for the TestingToBeMatchers. 3bf2046

Changed [1.1.0]

[1.0.1] - 2021-07-14

Changed

  • Change peerDependencies. 10be25d
  • 946803f Change the parameter value description. 58bdbad

Fixed

  • Fix toBe() and toEqual() method by adding a generic Value instead of any. 58bdbad
  • Fix instanceof link in the README.md. 946803f