Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 839 Bytes

DEVELOP.md

File metadata and controls

21 lines (12 loc) · 839 Bytes

Development

Publishing a new NPM Package

The NPM package publishing is handled by a GitHub Workflows using the publish-to-npm action.

To publish a new package, update the package.json package version and push a commit with the commit message "Release x.y.z" matching the package version.

Disconnection test

There is a test that checks that the client can reconnect to a rescheduled broker, or a broker that starts after the client application.

It can be run with npm run test:disconnection and it is run automatically when committing changes. It requires Docker to be running on your machine.

Debug logging

Try this for the insane level of trace logging:

DEBUG=grpc,worker GRPC_TRACE=all GRPC_VERBOSITY=DEBUG jest Worker-LongPoll --detectOpenHandles