mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 21:58:02 +00:00
004a4398dd
* React Native identicon * Simplify using generate interface * Remove unknown RN props * Update packages/reactnative-identicon/src/icons/Polkadot.tsx Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> * Linting, deps move * Default component with themes
13 lines
606 B
JavaScript
13 lines
606 B
JavaScript
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
const config = require('@polkadot/dev-react/config/jest');
|
|
|
|
module.exports = Object.assign({}, config, {
|
|
moduleNameMapper: {
|
|
'@polkadot/react-(identicon|qr)(.*)$': '<rootDir>/packages/react-$1/src/$2',
|
|
'@polkadot/reactnative-(identicon)(.*)$': '<rootDir>/packages/reactnative-$1/src/$2',
|
|
'@polkadot/ui-(assets|keyring|settings|shared)(.*)$': '<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'
|
|
}
|
|
});
|