Commit 8a5c50d9 authored by Vadzim's avatar Vadzim Committed by Dan Abramov
Browse files
parent fcda24ee
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -44,7 +44,7 @@ module.exports = { ...@@ -44,7 +44,7 @@ module.exports = {
settings: { settings: {
'import/ignore': [ 'import/ignore': [
'node_modules', 'node_modules',
'\\.(json|css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$', '\\.(json|css|ico|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$',
], ],
'import/extensions': ['.js'], 'import/extensions': ['.js'],
'import/resolver': { 'import/resolver': {
......
...@@ -21,7 +21,7 @@ module.exports = (resolve, rootDir, isEjecting) => { ...@@ -21,7 +21,7 @@ module.exports = (resolve, rootDir, isEjecting) => {
collectCoverageFrom: ['src/**/*.{js,jsx}'], collectCoverageFrom: ['src/**/*.{js,jsx}'],
moduleFileExtensions: ['jsx', 'js', 'json'], moduleFileExtensions: ['jsx', 'js', 'json'],
moduleNameMapper: { moduleNameMapper: {
'^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': resolve('config/jest/FileStub.js'), '^.+\\.(ico|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': resolve('config/jest/FileStub.js'),
'^.+\\.css$': resolve('config/jest/CSSStub.js') '^.+\\.css$': resolve('config/jest/CSSStub.js')
}, },
setupFiles: [resolve('config/polyfills.js')], setupFiles: [resolve('config/polyfills.js')],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment