-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SocketProviderAdapter mock class renamed to SocketProvider and improv…
…ed and AbstractSubscriptionTest and LogSubscriptionTest updated.
- Loading branch information
Samuel Furter
committed
Apr 26, 2019
1 parent
8be71d1
commit b9fe454
Showing
4 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
packages/web3-core-subscriptions/tests/__mocks__/SocketProvider.js
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default class SocketProvider { | ||
constructor() {} | ||
on() {} | ||
once() {} | ||
subscribe() {} | ||
removeAllListeners() {} | ||
} |
3 changes: 0 additions & 3 deletions
3
packages/web3-core-subscriptions/tests/__mocks__/SocketProviderAdapter.js
This file was deleted.
Oops, something went wrong.
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