Jest mock for svgr icons (#7941)
* add svg mock Signed-off-by: Kerry Archibald <kerrya@element.io> * use same mock string as imageMock Signed-off-by: Kerry Archibald <kerrya@element.io> * newline Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
2
__mocks__/svg.js
Normal file
2
__mocks__/svg.js
Normal file
@@ -0,0 +1,2 @@
|
||||
export const Icon = 'div';
|
||||
export default "image-file-stub";
|
||||
Reference in New Issue
Block a user