-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow to unregister if another function has been registered
- Loading branch information
Showing
5 changed files
with
46 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Client should call remote first function 1`] = `undefined`; | ||
exports[`Client should call remote first function 1`] = `"Function testrpc is not registered"`; | ||
|
||
exports[`Client should call remote last function 1`] = `undefined`; | ||
exports[`Client should call remote last function 1`] = `"Function testrpc is not registered"`; | ||
|
||
exports[`Client should call remote random function 1`] = `undefined`; | ||
exports[`Client should call remote random function 1`] = `"Function testrpc is not registered"`; | ||
|
||
exports[`Client should not be able to register different function type 1`] = `undefined`; | ||
exports[`Client should not be able to register different function type 1`] = `"Can't register a new function under the testrpc with this invoke value."`; | ||
|
||
exports[`Client should not be able to register different function type 2`] = `undefined`; | ||
exports[`Client should not be able to register different function type 2`] = `"Function testrpc already exists"`; | ||
|
||
exports[`Client should not be able to register different function type 3`] = `"Function testrpc is not registered"`; |
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