Skip to content

Commit 759382a

Browse files
docs(CHANGELOG.md): updated added, changed and remove.
1 parent ee6394d commit 759382a

1 file changed

Lines changed: 29 additions & 42 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6,59 +6,52 @@ All notable changes to this project will be documented in this file.
66
The format is based on [Keep a Changelog](http://keepachangelog.com/)
77
and this project adheres to [Semantic Versioning](http://semver.org/).
88

9-
## [2.0.0] - 2021-11-06
9+
## [2.0.0] - 2022-01-30
1010

1111
### [2.0.0] Added
1212

13-
* [cbe05f5]
14-
Added `randomNumber()` and `randomString()` helper functions.
15-
16-
* [9af6d2f]
17-
Added `objectSomeKeys()`, `stringIncludes()` and `stringIncludesSome()` methods.
13+
- Added `stringOfLengthBetween()` method of `TestingToBeMatchers`. [2854f54]
14+
- Added `randomNumber()` and `randomString()` helper functions. [cbe05f5]
15+
- Added `objectKeysIn()`, `objectSomeKeys()`, `stringIncludes()` and `stringIncludesSome()` methods of `TestingToBeMatchers`. [9af6d2f]
1816

17+
[2854f54]: https://github.com/angular-package/testing/commit/2854f544873d8c8dade092a73377e1ab26417e83
1918
[cbe05f5]: https://github.com/angular-package/testing/commit/cbe05f5f21881878aa11f3ef7938c599a5e36ed3
2019

21-
### [2.0.0] Updated
22-
23-
* [6af0073]
24-
Updated `numberBetween()` and `stringOfLength()` methods of `TestingToBeMatchers` to use `MinMax` interface from `@angular-package/type`.
25-
26-
* [9af6d2f]
27-
Updated to a new **`@angular-package/type`**.
28-
Updated default messages of `expectation fail output` and use `withContext()` method to display it.
29-
Updated the `objectKey()`, `objectKeyIn()`, `objectKeys()` and `numberBetween()` methods cause of updated `@angular-package/type`.
30-
31-
* [dd18b84]
32-
Updated the `execute` parameter to be optional by setting the default value to `true` for all methods.
33-
`Testing.prototype.toBeInstanceOfFunction()` method uses `instanceof` operator to validate.
34-
20+
### [2.0.0] Changed
21+
22+
- Updated `stringOfLength()` to the single `length` parameter. [d82f066]
23+
- ~~Updated `numberBetween()` and `stringOfLength()` methods of `TestingToBeMatchers` to use `MinMax` interface from `@angular-package/type`.~~ [6af0073]
24+
- Change the parameters to `min` and `max` of `stringOfLength()` and `numberBetween()` method. [d82f066]
25+
- Updated default messages of `expectation fail output` and use `withContext()` method to display it. [9af6d2f]
26+
- Updated the `objectKey()`, `objectKeyIn()`, `objectKeys()` and ~~`numberBetween()`~~ methods cause of updated `@angular-package/type`. [9af6d2f]
27+
- Updated to a new **`@angular-package/type`**. [9af6d2f]
28+
- Changed the `key` property type from `Key | Key[]` to `PropertyKey` in the `objectKey()` `objectKeyIn()` methods.
29+
- Changed the `keys` property type from `Key[]` to `PropertyKey[]` in the `objectKeys()` method.
30+
- Updated the `execute` parameter to be optional by setting the default value to `true` for all methods. [dd18b84]
31+
- `Testing.prototype.toBeInstanceOfFunction()` method uses `instanceof` operator to validate. [dd18b84]
32+
33+
[d82f066]: https://github.com/angular-package/testing/commit/d82f0665a8befb2b9515ae8dbbd5807f6c96eb5b
34+
[d82f066]: https://github.com/angular-package/testing/commit/d82f0665a8befb2b9515ae8dbbd5807f6c96eb5b
3535
[6af0073]: https://github.com/angular-package/testing/commit/6af007350f267ee054a34d33ddf3b671d879b632
3636
[9af6d2f]: https://github.com/angular-package/testing/commit/9af6d2f2c482a903a2a55303e7fc05725741e9c0
3737

3838
### [2.0.0] Removed
3939

40-
* [dd18b84]
41-
Removed unused `toBeResolved()` method.
40+
- Removed unused `toBeResolved()` method. [dd18b84]
4241

4342
[dd18b84]: https://github.com/angular-package/testing/commit/dd18b8469c6099246f4e9f8a9ac9f9d891c6e1f8
4443

4544
## [1.1.0] - 2021-07-19
4645

4746
### Added [1.1.0]
4847

49-
* [`77f326a`][77f326a]
50-
Abstract `TestingExpect` class to manage `expect()` function of jasmine.
51-
52-
* [`afb98f5`][afb98f5]
53-
Class `TestingToBeMatchers` with matchers that use the `toBe()` method of `jasmine.Matchers`.
54-
55-
* [`3bf2046`][3bf2046]
56-
Tests for the `TestingToBeMatchers`.
48+
- Abstract `TestingExpect` class to manage `expect()` function of jasmine. [`77f326a`][77f326a]
49+
- Class `TestingToBeMatchers` with matchers that use the `toBe()` method of `jasmine.Matchers`. [`afb98f5`][afb98f5]
50+
- Tests for the `TestingToBeMatchers`. [`3bf2046`][3bf2046]
5751

5852
### Changed [1.1.0]
5953

60-
* [`4b81d0c`][4b81d0c] [`bdfbfe2`][bdfbfe2] [`8229336`][8229336] [`c17d11e`][c17d11e] [`9e0e368`][9e0e368]
61-
Update README.md with `TestingToBeMatchers`.
54+
- Update README.md with `TestingToBeMatchers`. [`4b81d0c`][4b81d0c] [`bdfbfe2`][bdfbfe2] [`8229336`][8229336] [`c17d11e`][c17d11e] [`9e0e368`][9e0e368]
6255

6356
[77f326a]: https://github.com/angular-package/testing/commit/77f326a5bc7154b55f6944e60b24cddb5bfe93df
6457
[afb98f5]: https://github.com/angular-package/testing/commit/afb98f557296239b10227e8f0bde4f8b62fd5049
@@ -73,19 +66,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7366

7467
### Changed
7568

76-
* [`10be25d`][10be25d]
77-
Change peerDependencies.
78-
79-
* [`58bdbad`][58bdbad]
80-
946803f Change the parameter `value` description.
69+
- Change peerDependencies. [`10be25d`][10be25d]
70+
- 946803f Change the parameter `value` description. [`58bdbad`][58bdbad]
8171

8272
### Fixed
8373

84-
* [`58bdbad`][58bdbad]
85-
Fix `toBe()` and `toEqual()` method by adding a generic `Value` instead of any.
86-
87-
* [`946803f`][946803f]
88-
Fix `instanceof` link in the README.md.
74+
- Fix `toBe()` and `toEqual()` method by adding a generic `Value` instead of any. [`58bdbad`][58bdbad]
75+
- Fix `instanceof` link in the README.md. [`946803f`][946803f]
8976

9077
[10be25d]: https://github.com/angular-package/testing/commit/10be25daffacf87f38b469b999cbb2b213fb90a1
9178
[58bdbad]: https://github.com/angular-package/testing/commit/58bdbadf4fc62aed1fac3680168bb8bb8e35e5dd

0 commit comments

Comments
 (0)