* Basic democacry (Referendum) overview * Summary in-place * Fix package name * Proposals & Referendums are showing up * Some basic Extrinsic formatting. (WIP) * Basic referendum/proposal summary in place * Referendum outcome chart * Voting in place. It works. * Remove extra console.log/error * Only show balances as label
11 lines
543 B
JavaScript
11 lines
543 B
JavaScript
const config = require('@polkadot/dev-react/config/jest');
|
|
|
|
module.exports = Object.assign({}, config, {
|
|
moduleNameMapper: {
|
|
'@polkadot/app-(accounts|addresses|democracy|example|explorer|extrinsics|rpc|staking|storage|toolbox|vanitygen)(.*)$': '<rootDir>/packages/ui-$1/src/$2',
|
|
'@polkadot/ui-(app|identicon|keyring|react-rx|react|signer)(.*)$': '<rootDir>/packages/ui-$1/src/$2',
|
|
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': 'empty/object',
|
|
'\\.(css|less)$': 'empty/object'
|
|
}
|
|
});
|