// Copyright 2017-2022 @polkadot/api authors & contributors // SPDX-License-Identifier: Apache-2.0 const config = require('@polkadot/dev/config/jest.cjs'); module.exports = { ...config, moduleNameMapper: { '@polkadot/api-(augment|base|contract|derive)(.*)$': '/packages/api-$1/src/$2', // eslint-disable-next-line sort-keys '@polkadot/api(.*)$': '/packages/api/src/$1', '@polkadot/rpc-(augment|core|provider)(.*)$': '/packages/rpc-$1/src/$2', '@polkadot/typegen(.*)$': '/packages/typegen/src/$1', '@polkadot/types-(augment|codec|create|known|support)(.*)$': '/packages/types-$1/src/$2', // eslint-disable-next-line sort-keys '@polkadot/types(.*)$': '/packages/types/src/$1' }, testTimeout: 30000 };