supertest with added WebSocket capabilities
How the donated funds are distributed
Kivach works on the Obyte network, and therefore you can track all donations.
. after calling `send` or `expect*`). ### `.filterJson([test])` Filters out any incoming messages which do not match the `test` function. This can be used to ignore background messages which are not relevant to the code being tested. Implicitly excludes all binary messages. ```javascript request(server).ws('...') .filterJson((json) => json.type !== 'ping') ``` If multiple filters are specified, they are AND-ed together. This function cannot be called after the connection has been established (i.e. after calling `send` or `expect*`). ### `.filterBinary([test])` Filters out any incoming messages which do not match the `test` function. This can be used to ignore background messages which are not relevant to the code being tested. Implicitly excludes all text messages. ```javascript request(server).ws('...') .filterBinary((buffer) => buffer.byteLength !== 4) ``` If multiple filters are specified, they are AND-ed together. This function cannot be called after the connection has been established (i.e. after calling `send` or `expect*`). ### `.expectText([expected[, options]])` Expects a text message from the server. If the `expected`