How to use the @polkadot/dev/jest.config function in @polkadot/dev

To help you get started, we’ve selected a few @polkadot/dev 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 / client / packages / client / jest.config.js View on Github external
const config = require('@polkadot/dev/jest.config');

module.exports = Object.assign({}, config, {
  moduleNameMapper: {
    '@polkadot/client-p2p(.*)$': '/../client-p2p/src/$1',
    '@polkadot/client-rpc(.*)$': '/../client-rpc/src/$1'
  }
});

@polkadot/dev

A collection of shared CI scripts and development environment used by @polkadot projects

Apache-2.0
Latest version published 12 days ago

Package Health Score

75 / 100
Full package analysis

Similar packages