We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1f7edf commit 623bd50Copy full SHA for 623bd50
README.md
@@ -17,8 +17,6 @@ Mocking framework for [Laravel](https://laravel.com/) [Echo](https://laravel.com
17
18
# Usage
19
20
-> Use `expect` as assertion library
21
-
22
Import mock-echo
23
`import MockEcho from 'mock-echo'`
24
@@ -54,6 +52,8 @@ expect(mockEcho.privateChannelExist('meeting')).toBe(true)
54
52
expect(mockEcho.presenceChannelExist('chat')).toBe(true)
55
53
```
56
+> All examples are using `expect` as assertion library
+
57
## Get mock channel object
58
59
You can use `getChannel`, `getPrivateChannel`, `getPresenceChannel` to get mock channel object
0 commit comments