mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 14:57:56 +00:00
fd67ecdf3a
* 311 problems (173 errors, 138 warnings) * Make a start... * swap to react config * Literally a handful left * Clean. * any removal * Use Record * Adjust versions * Update with latest eslint-standard ruleset * Update defaults.ts
11 lines
438 B
JavaScript
11 lines
438 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/ui-(assets|identicon|keyring|settings)(.*)$': '<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'
|
|
}
|
|
});
|