* WIP * Some output, still borken... * Events decoded correctly * WIP, metadata decoded * String cleanups * Expand with generics * Add getters * Start docs... * Additional docs * Extra whitespace on Compact * CodecLength FIXME * Remove FIXME (impl. takes care) * Swap in LengthCompact encoding * Extend docs, play with auto-type for struct * Trim strings, add Type for type-specific String * More string-type hackery * Don't allow Type re-encoding * Remove struct experiment * Cleanup Option * Remove extra type defs from CodecStruct usage * Expand Storage function with map (and type returns) * Description around BaseCodec * Cleanup linting, add Metadata test * Move to api-codec * Extract uniq types * Uniq updates * Unwrap, ungeneric
14 lines
654 B
JavaScript
14 lines
654 B
JavaScript
const config = require('@polkadot/dev/config/jest');
|
|
|
|
module.exports = Object.assign({}, config, {
|
|
moduleNameMapper: {
|
|
'@polkadot/api-(codec|format|jsonrpc|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'
|
|
}
|
|
});
|