Skip to content

Commit 43d5ed3

Browse files
authored
Update README.md
1 parent e97847e commit 43d5ed3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,9 @@ name | arguments | description
137137
-------------------------------|------------|-----------------------------------
138138
flush | | Executes all pending requests
139139
expectConnect | url:String | Specify the url of an expected WebSocket connection
140-
expectClose | | Expect "close" to be called on the WebSocket
140+
expectClose | url:String | Expect "close" to be called on the WebSocket
141141
expectSend | msg:String | Expectation of send to be called, with required message
142+
mockClose | url:String | Used to fake close a socket and test corresponding close handlers
142143
verifyNoOutstandingExpectation | | Makes sure all expectations have been satisfied, should be called in afterEach
143144
verifyNoOutstandingRequest | | Makes sure no requests are pending, should be called in afterEach
144145

0 commit comments

Comments
 (0)