Skip to content

Commit 623bd50

Browse files
author
Alex Yang
committed
update readme.md
1 parent e1f7edf commit 623bd50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ Mocking framework for [Laravel](https://laravel.com/) [Echo](https://laravel.com
1717

1818
# Usage
1919

20-
> Use `expect` as assertion library
21-
2220
Import mock-echo
2321
`import MockEcho from 'mock-echo'`
2422

@@ -54,6 +52,8 @@ expect(mockEcho.privateChannelExist('meeting')).toBe(true)
5452
expect(mockEcho.presenceChannelExist('chat')).toBe(true)
5553
```
5654

55+
> All examples are using `expect` as assertion library
56+
5757
## Get mock channel object
5858

5959
You can use `getChannel`, `getPrivateChannel`, `getPresenceChannel` to get mock channel object

0 commit comments

Comments
 (0)