* Pull in observable api... * Progress changing stuff... * votingBalance * Update resul types * Expose toBn on Moment * Rework... WIP * ... More type cleanups * Linting passes * BN helpers for UInt * Update api-observable * Add api-observable package.json * Allow Struct/Tuple to create from hex string * Future-proof Length with bitLength (u64/u128 compant encoding PR out) * Make Compact number encoding shareable * Split Api into functional sections * Cleanup types * Additional per-use comments * Remove params/primitives from README * api-format -> api-codec * Whitespace.
14 lines
658 B
JavaScript
14 lines
658 B
JavaScript
const config = require('@polkadot/dev/config/jest');
|
|
|
|
module.exports = Object.assign({}, config, {
|
|
moduleNameMapper: {
|
|
'@polkadot/api-(codec|jsonrpc|observable|provider|rx)(.*)$': '<rootDir>/packages/api-$1/src/$2',
|
|
'@polkadot/api(.*)$': '<rootDir>/packages/api/src/$1',
|
|
'@polkadot/extrinsics(.*)$': '<rootDir>/packages/type-extrinsics/src/$1',
|
|
'@polkadot/jsonrpc(.*)$': '<rootDir>/packages/type-jsonrpc/src/$1',
|
|
'@polkadot/params(.*)$': '<rootDir>/packages/type-params/src/$1',
|
|
'@polkadot/primitives(.*)$': '<rootDir>/packages/type-primitives/src/$1',
|
|
'@polkadot/storage(.*)$': '<rootDir>/packages/type-storage/src/$1'
|
|
}
|
|
});
|