Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
ba7d449
chore(ng-package): update.
sciborrudnicki Sep 23, 2021
5731a4b
docs(README.md: update.
sciborrudnicki Sep 24, 2021
d43f0cd
docs(README.md): update.
sciborrudnicki Sep 24, 2021
9af6d2f
refactor(TestingToBeMatchers): remove `Key` in favor of `PropertyKey`…
sciborrudnicki Sep 25, 2021
9e55719
test(bigint): update constant.
sciborrudnicki Sep 25, 2021
d177cb2
chore(test/constant/boolean): remove tslint disablers.
sciborrudnicki Sep 25, 2021
f8fe7fe
chore(TestingDescribe): remove unnecessary import.
sciborrudnicki Sep 25, 2021
da08336
docs(TestingExpect): add comment to imported `@angular-package/type`.
sciborrudnicki Sep 25, 2021
1014bda
style(Testing): use prettier.
sciborrudnicki Sep 25, 2021
faf092b
test(TestingToBeMatchers): allow to execute and add missing functions.
sciborrudnicki Sep 25, 2021
e6c90a6
docs(README.md): update.
sciborrudnicki Sep 25, 2021
0b7c4fb
docs(README.md): update.
sciborrudnicki Sep 25, 2021
d4c65cb
refactor(TestingToBeMatchers): update `expectationFailOutput` paramet…
sciborrudnicki Sep 25, 2021
82d1eaf
docs(README.md): update.
sciborrudnicki Sep 25, 2021
43a9704
docs(README.md): update.
sciborrudnicki Sep 25, 2021
dd18b84
refator(TestingTests): set the `execute` parameter to optional for al…
sciborrudnicki Sep 26, 2021
6c6748e
docs(README.md): update and fix.
sciborrudnicki Sep 26, 2021
443fefc
chore(api): update.
sciborrudnicki Sep 26, 2021
d3c8cf4
docs(README.md): fix.
sciborrudnicki Sep 26, 2021
30db20b
test(README.md): update test related to documentation.
sciborrudnicki Sep 26, 2021
e3192de
test: execute all.
sciborrudnicki Sep 26, 2021
34e4d36
chore(package): update 2.0.0.
sciborrudnicki Sep 26, 2021
6af0073
refactor(TestingToBeMatchers): update `numberBetween()` and `stringOf…
sciborrudnicki Nov 5, 2021
cbe05f5
feat(random): add `randomString()` and `randomNumber()` functions.
sciborrudnicki Nov 5, 2021
9889f19
chore(package-lock): update.
sciborrudnicki Nov 5, 2021
b0bb860
chore(CHANGELOG.md): update.
sciborrudnicki Nov 5, 2021
965422c
refactor(TESTING_BIGINT): change the value of `TESTING_BIGINT` constant.
sciborrudnicki Nov 6, 2021
35b60ad
test: add spec for `randomString()` and `randomNumber()` functions.
sciborrudnicki Nov 6, 2021
5665fe4
test(randomString()): remove test.
sciborrudnicki Nov 6, 2021
722bcc6
docs: update `randomNumber()` and `randomString()` functions.
sciborrudnicki Nov 6, 2021
1592abe
docs(CHANGELOG.md): update.
sciborrudnicki Nov 6, 2021
624eec2
docs(README.md): update.
sciborrudnicki Nov 6, 2021
e683a00
docs(README.md): update.
sciborrudnicki Nov 6, 2021
fd93d09
docs(README.md): add gitter.
sciborrudnicki Nov 6, 2021
74f0e20
docs(README.md): update.
sciborrudnicki Nov 6, 2021
dfdf6b1
docs(README.md): fix.
sciborrudnicki Nov 6, 2021
fffcde3
docs(README.md): update.
sciborrudnicki Nov 6, 2021
481a20a
docs(README.md): update.
angularpackage Jan 28, 2022
bd4dfb3
docs(README.md): update `numberBetween()` and `stringOfLength()`.
angularpackage Jan 28, 2022
d82f066
refactor(TestingToBeMatchers): separate parameters from range and len…
angularpackage Jan 28, 2022
97741bd
chore: update test file.
angularpackage Jan 28, 2022
6529d85
test(randomNumber()): update `numberBetween())` usage.
angularpackage Jan 29, 2022
794442c
test(randomString()): use `stringOfLengthBetween())`.
angularpackage Jan 29, 2022
2854f54
refactor(TestingToBeMatchers): add `stringOfLengthBetween()` and upda…
angularpackage Jan 29, 2022
35f7a3c
test(README.md): update.
angularpackage Jan 29, 2022
bf3c48e
test: update.
angularpackage Jan 29, 2022
1c85a4f
chore(ng-package): update.
angularpackage Jan 29, 2022
38f8bf0
docs(README.md): update.
angularpackage Jan 30, 2022
ee6394d
docs(README.md): update badges.
angularpackage Jan 30, 2022
759382a
docs(CHANGELOG.md): updated `added`, `changed` and `remove`.
angularpackage Jan 30, 2022
e41f63b
test(README.md): tests from the readme update.
angularpackage Jan 30, 2022
dd28e18
docs(README.md): update.
angularpackage Jan 30, 2022
58e9a55
chore(package): update.
angularpackage Jan 30, 2022
f8068f2
docs(CHANGELOG.md): update.
angularpackage Jan 30, 2022
e3aaa2e
refactor(TestingToBeMatchers): update `stringOfLength()` method `expe…
angularpackage Jan 30, 2022
794c3e7
chore(package): update.
angularpackage Jan 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 44 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,52 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.1.0] - 2021-07-19
## [2.0.0-rc] - 2022-01-30

### Added
### [2.0.0-rc] Added

- [`77f326a`][77f326a]
Abstract `TestingExpect` class to manage `expect()` function of jasmine.
- Added `stringOfLengthBetween()` method of `TestingToBeMatchers`. [2854f54]
- Added `randomNumber()` and `randomString()` helper functions. [cbe05f5]
- Added `objectKeysIn()`, `objectSomeKeys()`, `stringIncludes()` and `stringIncludesSome()` methods of `TestingToBeMatchers`. [9af6d2f]

- [`afb98f5`][afb98f5]
Class `TestingToBeMatchers` with matchers that use the `toBe()` method of `jasmine.Matchers`.
[2854f54]: https://github.com/angular-package/testing/commit/2854f544873d8c8dade092a73377e1ab26417e83
[cbe05f5]: https://github.com/angular-package/testing/commit/cbe05f5f21881878aa11f3ef7938c599a5e36ed3

- [`3bf2046`][3bf2046]
Tests for the `TestingToBeMatchers`.
### [2.0.0-rc] Changed

### 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]

[d82f066]: https://github.com/angular-package/testing/commit/d82f0665a8befb2b9515ae8dbbd5807f6c96eb5b
[d82f066]: https://github.com/angular-package/testing/commit/d82f0665a8befb2b9515ae8dbbd5807f6c96eb5b
[6af0073]: https://github.com/angular-package/testing/commit/6af007350f267ee054a34d33ddf3b671d879b632
[9af6d2f]: https://github.com/angular-package/testing/commit/9af6d2f2c482a903a2a55303e7fc05725741e9c0

### [2.0.0-rc] Removed

- [`4b81d0c`][4b81d0c] [`bdfbfe2`][bdfbfe2] [`8229336`][8229336] [`c17d11e`][c17d11e] [`9e0e368`][9e0e368]
Update README.md with `TestingToBeMatchers`.
- Removed unused `toBeResolved()` method. [dd18b84]

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

## [1.1.0] - 2021-07-19

### Added [1.1.0]

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

### Changed [1.1.0]

- Update README.md with `TestingToBeMatchers`. [`4b81d0c`][4b81d0c] [`bdfbfe2`][bdfbfe2] [`8229336`][8229336] [`c17d11e`][c17d11e] [`9e0e368`][9e0e368]

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

### Changed

- [`10be25d`][10be25d]
Change peerDependencies.

- [`58bdbad`][58bdbad]
946803f Change the parameter `value` description.
- Change peerDependencies. [`10be25d`][10be25d]
- 946803f Change the parameter `value` description. [`58bdbad`][58bdbad]

### Fixed

- [`58bdbad`][58bdbad]
Fix `toBe()` and `toEqual()` method by adding a generic `Value` instead of any.

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

[10be25d]: https://github.com/angular-package/testing/commit/10be25daffacf87f38b469b999cbb2b213fb90a1
[58bdbad]: https://github.com/angular-package/testing/commit/58bdbadf4fc62aed1fac3680168bb8bb8e35e5dd
Expand Down
Loading