diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-01-11 17:46:38 +0100 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2018-01-12 17:37:53 +0100 |
commit | 91dcb7b968fed3eec9d81d1f096ebb936e3b3592 (patch) | |
tree | 701b1ce17eab73405bbdd818f21e89b4da52adad /server/sonar-web/src/main/js/app/components/search | |
parent | 572fd173640d6cccad67421e0a3ee80de70aeb84 (diff) | |
download | sonarqube-91dcb7b968fed3eec9d81d1f096ebb936e3b3592.tar.gz sonarqube-91dcb7b968fed3eec9d81d1f096ebb936e3b3592.zip |
update jest & enzyme
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/search')
2 files changed, 10 insertions, 10 deletions
diff --git a/server/sonar-web/src/main/js/app/components/search/__tests__/__snapshots__/SearchResult-test.js.snap b/server/sonar-web/src/main/js/app/components/search/__tests__/__snapshots__/SearchResult-test.js.snap index 57349cfbdf5..0a9d6781bf0 100644 --- a/server/sonar-web/src/main/js/app/components/search/__tests__/__snapshots__/SearchResult-test.js.snap +++ b/server/sonar-web/src/main/js/app/components/search/__tests__/__snapshots__/SearchResult-test.js.snap @@ -13,7 +13,7 @@ exports[`renders favorite 1`] = ` <Link className="navbar-search-item-link" data-key="foo" - onClick={[Function]} + onClick={[MockFunction]} onMouseEnter={[Function]} onlyActiveOnIndex={false} style={Object {}} @@ -62,7 +62,7 @@ exports[`renders match 1`] = ` <Link className="navbar-search-item-link" data-key="foo" - onClick={[Function]} + onClick={[MockFunction]} onMouseEnter={[Function]} onlyActiveOnIndex={false} style={Object {}} @@ -110,7 +110,7 @@ exports[`renders organizations 1`] = ` <Link className="navbar-search-item-link" data-key="foo" - onClick={[Function]} + onClick={[MockFunction]} onMouseEnter={[Function]} onlyActiveOnIndex={false} style={Object {}} @@ -163,7 +163,7 @@ exports[`renders organizations 2`] = ` <Link className="navbar-search-item-link" data-key="foo" - onClick={[Function]} + onClick={[MockFunction]} onMouseEnter={[Function]} onlyActiveOnIndex={false} style={Object {}} @@ -211,7 +211,7 @@ exports[`renders projects 1`] = ` <Link className="navbar-search-item-link" data-key="qwe" - onClick={[Function]} + onClick={[MockFunction]} onMouseEnter={[Function]} onlyActiveOnIndex={false} style={Object {}} @@ -264,7 +264,7 @@ exports[`renders recently browsed 1`] = ` <Link className="navbar-search-item-link" data-key="foo" - onClick={[Function]} + onClick={[MockFunction]} onMouseEnter={[Function]} onlyActiveOnIndex={false} style={Object {}} @@ -312,7 +312,7 @@ exports[`renders selected 1`] = ` <Link className="navbar-search-item-link" data-key="foo" - onClick={[Function]} + onClick={[MockFunction]} onMouseEnter={[Function]} onlyActiveOnIndex={false} style={Object {}} @@ -358,7 +358,7 @@ exports[`renders selected 2`] = ` <Link className="navbar-search-item-link" data-key="foo" - onClick={[Function]} + onClick={[MockFunction]} onMouseEnter={[Function]} onlyActiveOnIndex={false} style={Object {}} diff --git a/server/sonar-web/src/main/js/app/components/search/__tests__/__snapshots__/SearchResults-test.js.snap b/server/sonar-web/src/main/js/app/components/search/__tests__/__snapshots__/SearchResults-test.js.snap index aa88bea94d8..432b5562168 100644 --- a/server/sonar-web/src/main/js/app/components/search/__tests__/__snapshots__/SearchResults-test.js.snap +++ b/server/sonar-web/src/main/js/app/components/search/__tests__/__snapshots__/SearchResults-test.js.snap @@ -24,8 +24,8 @@ exports[`renders "Show More" link 1`] = ` allowMore={true} key="more-TRK" loadingMore={null} - onMoreClick={[Function]} - onSelect={[Function]} + onMoreClick={[MockFunction]} + onSelect={[MockFunction]} qualifier="TRK" selected={false} /> |