-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement spyOnProperty method (#5107)
* feat: implement spyOnProperty method, fixes #5106 * style: fix indentation of mock, runtime, jasmine2 * test: fix failing tests for spyOnProperty * test: implement tests for #1214 * style: fix eslint errors * refactor: proxy spyOnProperty call behind spyOn * refactor: remove useless console.log * style: fix eslint errors * types: remove declaration of spyOnProperty * docs: add documentation for accessType argument of spyOn * docs: fix typo in spyOn docs * test(spyOn): fix typo in should throw on invalid input * test(spyOn): add tests for setters * docs(spyOn): add example for spying on setters * style: fix eslint errors * refactor: format error messages with getErrorMsg() * style: fix eslint errors * revert: restore snapshotState.getUncheckedKeys()
- Loading branch information
Showing
7 changed files
with
345 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.