1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

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:
Kerry
2022-03-02 13:05:50 +01:00
committed by GitHub
parent 26216ec527
commit 547144a565
2 changed files with 4 additions and 1 deletions

2
__mocks__/svg.js Normal file
View File

@ -0,0 +1,2 @@
export const Icon = 'div';
export default "image-file-stub";