Files
pezkuwi-ui/jest.config.js
T
Jaco Greeff fd67ecdf3a Swap to eslint (#154)
* 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
2019-07-12 22:01:19 +02:00

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'
}
});