diff options
author | xuegao <xg353y@intl.att.com> | 2019-09-19 14:23:14 +0200 |
---|---|---|
committer | xuegao <xg353y@intl.att.com> | 2019-09-24 11:07:36 +0200 |
commit | 841ddaaa26c0faf16353d8e22093daa2553aad57 (patch) | |
tree | 61aaa6d28490a6b5f2037b4a6edb10ed5fdad2e5 /ui-react/package.json | |
parent | 27cbec79e30f7e25a7419be38dd9bb7c324c782c (diff) |
Add unit tests for UI
Adding unit tests for React UI
Issue-ID: CLAMP-509
Change-Id: If31bbea7972736aa190fd0fed19336a1aa382af8
Signed-off-by: xuegao <xg353y@intl.att.com>
Diffstat (limited to 'ui-react/package.json')
-rw-r--r-- | ui-react/package.json | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ui-react/package.json b/ui-react/package.json index dffe698c3..4a363ab51 100644 --- a/ui-react/package.json +++ b/ui-react/package.json @@ -63,8 +63,15 @@ "coverageReporters": [ "lcov" ], - "setupFiles": ["./src/setupTests.js"], - "snapshotSerializers": ["enzyme-to-json/serializer"] + "moduleNameMapper": { + "\\.(css|png)$": "identity-obj-proxy" + }, + "setupFiles": [ + "./src/setupTests.js" + ], + "snapshotSerializers": [ + "enzyme-to-json/serializer" + ] }, "babel": { "presets": [ |