How to use the @polkadot/rpc-provider/mock/index function in @polkadot/rpc-provider

To help you get started, we’ve selected a few @polkadot/rpc-provider examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github polkadot-js / api / packages / api / src / promise / Api.spec.ts View on Github external
beforeEach((): void => {
    jest.setTimeout(3000000);
    provider = new Mock(registry);
  });

@polkadot/rpc-provider

Transport providers for the API

Apache-2.0
Latest version published 9 days ago

Package Health Score

90 / 100
Full package analysis

Similar packages