diff options
author | 2022-10-28 00:23:40 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:58 +0300 | |
commit | 9bd48005fda1d94a526e36bec256b56add65b28d (patch) | |
tree | 2bffeb7e3ec8b2e8ac6886cffae544771958e333 /vnext/src/ui/__tests__ | |
parent | 40d411e516efee5531404725b45ab89d97172ce8 (diff) |
use `react-hook-form` and fix tests
Diffstat (limited to 'vnext/src/ui/__tests__')
-rw-r--r-- | vnext/src/ui/__tests__/__snapshots__/Avatar.test.js.snap | 2 | ||||
-rw-r--r-- | vnext/src/ui/__tests__/__snapshots__/UserLink.test.js.snap | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/vnext/src/ui/__tests__/__snapshots__/Avatar.test.js.snap b/vnext/src/ui/__tests__/__snapshots__/Avatar.test.js.snap index 47614f5a..a28b4036 100644 --- a/vnext/src/ui/__tests__/__snapshots__/Avatar.test.js.snap +++ b/vnext/src/ui/__tests__/__snapshots__/Avatar.test.js.snap @@ -19,7 +19,7 @@ exports[`Avatar renders correctly 1`] = ` </div> <div style={ - Object { + { "display": "flex", "flexDirection": "column", "justifyContent": "center", diff --git a/vnext/src/ui/__tests__/__snapshots__/UserLink.test.js.snap b/vnext/src/ui/__tests__/__snapshots__/UserLink.test.js.snap index 0864479c..ab6cd46b 100644 --- a/vnext/src/ui/__tests__/__snapshots__/UserLink.test.js.snap +++ b/vnext/src/ui/__tests__/__snapshots__/UserLink.test.js.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`UserLink renders correctly 1`] = ` -Array [ +[ <a className="info-avatar" href="/ugnich/" @@ -29,7 +29,6 @@ Array [ <img src="test-file-stub" /> - </a>, ] `; |