text: /* eslint-disable @typescript-eslint/camelcase */
  /* eslint-disable @typescript-eslint/no-var-requires */
  const config = require('@polkadot/dev/config/jest');
  
  module.exports = Object.assign({}, config, {
    moduleNameMapper: {
      '@polkadot/api-contract(.*)$': '<rootDir>/packages/api-contract/src/$1',
      '@polkadot/api-derive(.*)$': '<rootDir>/packages/api-derive/src/$1',
      '@polkadot/api(.*)$': '<rootDir>/packages/api/src/$1',
      '@polkadot/metadata(.*)$': '<rootDir>/packages/metadata/src/$1',
      '@polkadot/rpc-(core|provider)(.*)$': '<rootDir>/packages/rpc-$1/src/$2',
      '@polkadot/jsonrpc(.*)$': '<rootDir>/packages/type-jsonrpc/src/$1',
      '@polkadot/types(.*)$': '<rootDir>/packages/types/src/$1'
    },
    modulePathIgnorePatterns: [
      '<rootDir>/packages/api/build',
      '<rootDir>/packages/api-derive/build',
      '<rootDir>/packages/api-contract/build',
      '<rootDir>/packages/metadata/build',
      '<rootDir>/packages/rpc-core/build',
      '<rootDir>/packages/rpc-provider/build',
      '<rootDir>/packages/type-jsonrpc/build',
      '<rootDir>/packages/types/build'
    ],
    globals: {
      ws_local: 'ws://127.0.0.1:9944/',
      ws_local_substrate_master: 'ws://127.0.0.1:9945/',
      ws_local_substrate_1: 'ws://127.0.0.1:9946/',
      ws_local_substrate_2: 'ws://127.0.0.1:9947/',
      ws_local_polkadot_master: 'ws://127.0.0.1:9948/',
      ws_local_polkadot_alex: 'ws://127.0.0.1:9949/',
      ws_substrate_1: 'wss://substrate-rpc.parity.io/',
      ws_polkadot_alex: 'wss://poc3-rpc.polkadot.io/'
    }
  });
  