14 lines
453 B
JavaScript
14 lines
453 B
JavaScript
// Copyright 2019-2023 @polkadot/wasm-crypto authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
const config = require('@polkadot/dev/config/jest.cjs');
|
|
|
|
module.exports = {
|
|
...config,
|
|
moduleNameMapper: {
|
|
'@polkadot/wasm-crypto-(init|asmjs|wasm)(.*)$': '<rootDir>/packages/wasm-crypto-$1/build/$2',
|
|
// eslint-disable-next-line sort-keys
|
|
'@polkadot/wasm-(bridge|crypto|util)(.*)$': '<rootDir>/packages/wasm-$1/build/$2'
|
|
}
|
|
};
|