@wvb/bridge/testing
Installation and API reference for @wvb/bridge/testing.
Use @wvb/bridge/testing in your project and browse its exported API.
Installation
@wvb/bridge/testing is an export subpath of @wvb/bridge. Use the package name when installing it.
Add the package to your project's dependencies:
npm install @wvb/bridgeFunctions
clearInvokeMocks
mockBridge
Create a mock bridge instance.
mockInvoke
Registers a mock handler that responds a single bridge invoke command.
mockPlatform
Mock platform type.