Skip to content

Commit 239029a

Browse files
Added testing section to readme
1 parent a7a1039 commit 239029a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,18 @@ OPTIONS:
158158

159159
TBD
160160

161+
### Registering Subscribers
162+
163+
TBD
164+
165+
### Sending Messages
166+
167+
TBD
168+
169+
### Testing
170+
171+
The `WebPushTesting` module can be used to obtain a mocked `WebPushManager` instance that allows you to capture all messages that are sent out, or throw your own errors to validate your code functions appropriately. Only import `WebPushTesting` in your testing targets.
172+
161173
## Contributing
162174

163175
Contribution is welcome! Please take a look at the issues already available, or start a new discussion to propose a new feature. Although guarantees can't be made regarding feature requests, PRs that fit within the goals of the project and that have been discussed beforehand are more than welcome!

0 commit comments

Comments
 (0)