Add ico extension to jest
Signed-off-by: Stephen A. Wilson <code@stephenawilson.ca>
This commit is contained in:
committed by
GitHub
parent
f4404e5ca3
commit
f4c08bb671
@@ -185,7 +185,7 @@ async function getProjectConfig(targetPath, extraConfig) {
|
||||
},
|
||||
},
|
||||
],
|
||||
'\\.(bmp|gif|jpg|jpeg|png|frag|xml|svg|eot|woff|woff2|ttf)$':
|
||||
'\\.(bmp|gif|jpg|jpeg|png|ico|frag|xml|svg|eot|woff|woff2|ttf)$':
|
||||
require.resolve('./jestFileTransform.js'),
|
||||
'\\.(yaml)$': require.resolve('./jestYamlTransform'),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user