// Copyright 2017-2020 @polkadot/util authors & contributors // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. const config = require('@polkadot/dev/config/jest'); module.exports = Object.assign({}, config, { moduleNameMapper: { '@polkadot/keyring(.*)$': '/packages/keyring/src/$1', '@polkadot/util-(crypto)(.*)$': '/packages/util-$1/src/$2', // eslint-disable-next-line sort-keys '@polkadot/util(.*)$': '/packages/util/src/$1' }, modulePathIgnorePatterns: [ '/packages/keyring/build', '/packages/util/build', '/packages/util-crypto/build' ], resolver: './jest.resolver.js' });