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 | |
parent | 572fd173640d6cccad67421e0a3ee80de70aeb84 (diff) | |
download | sonarqube-91dcb7b968fed3eec9d81d1f096ebb936e3b3592.tar.gz sonarqube-91dcb7b968fed3eec9d81d1f096ebb936e3b3592.zip |
update jest & enzyme
Diffstat (limited to 'server/sonar-web')
70 files changed, 778 insertions, 523 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index be268afc624..1be2cba9f28 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -47,9 +47,9 @@ "@types/clipboard": "1.5.35", "@types/d3-array": "1.2.1", "@types/d3-scale": "1.0.10", - "@types/enzyme": "3.1.5", + "@types/enzyme": "3.1.6", "@types/escape-html": "0.0.20", - "@types/jest": "21.1.8", + "@types/jest": "22.0.1", "@types/jquery": "3.2.11", "@types/lodash": "4.14.80", "@types/prop-types": "15.5.2", @@ -64,7 +64,7 @@ "autoprefixer": "7.1.6", "awesome-typescript-loader": "3.2.3", "babel-core": "6.26.0", - "babel-jest": "21.2.0", + "babel-jest": "22.0.6", "babel-loader": "7.1.2", "babel-plugin-dynamic-import-node": "1.1.0", "babel-plugin-syntax-dynamic-import": "6.18.0", @@ -77,8 +77,8 @@ "babel-preset-react": "^6.22.0", "chalk": "2.3.0", "css-loader": "0.28.7", - "enzyme": "3.2.0", - "enzyme-adapter-react-16": "1.1.0", + "enzyme": "3.3.0", + "enzyme-adapter-react-16": "1.1.1", "enzyme-to-json": "3.3.0", "eslint": "4.9.0", "eslint-plugin-import": "2.8.0", @@ -91,7 +91,7 @@ "fs-extra": "0.30.0", "handlebars-loader": "1.6.0", "html-webpack-plugin": "2.30.1", - "jest": "21.2.1", + "jest": "22.0.6", "lint-staged": "4.3.0", "postcss-calc": "6.0.1", "postcss-custom-properties": "6.2.0", @@ -101,7 +101,7 @@ "react-test-renderer": "16.2.0", "rimraf": "2.6.2", "style-loader": "0.19.0", - "ts-jest": "21.1.4", + "ts-jest": "22.0.1", "typescript": "2.6.2", "typescript-eslint-parser": "11.0.0", "webpack": "3.8.1", diff --git a/server/sonar-web/src/main/js/app/components/help/__tests__/__snapshots__/GlobalHelp-test.js.snap b/server/sonar-web/src/main/js/app/components/help/__tests__/__snapshots__/GlobalHelp-test.js.snap index eaaccb8f0a1..972930cce48 100644 --- a/server/sonar-web/src/main/js/app/components/help/__tests__/__snapshots__/GlobalHelp-test.js.snap +++ b/server/sonar-web/src/main/js/app/components/help/__tests__/__snapshots__/GlobalHelp-test.js.snap @@ -4,7 +4,7 @@ exports[`does not show tutorials for anonymous 1`] = ` <Modal contentLabel="help" medium={true} - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <div className="modal-head" 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} /> diff --git a/server/sonar-web/src/main/js/apps/account/notifications/__tests__/__snapshots__/GlobalNotifications-test.js.snap b/server/sonar-web/src/main/js/apps/account/notifications/__tests__/__snapshots__/GlobalNotifications-test.js.snap index 64a62011d96..3d21dbbdf2a 100644 --- a/server/sonar-web/src/main/js/apps/account/notifications/__tests__/__snapshots__/GlobalNotifications-test.js.snap +++ b/server/sonar-web/src/main/js/apps/account/notifications/__tests__/__snapshots__/GlobalNotifications-test.js.snap @@ -58,8 +58,8 @@ exports[`should match snapshot 1`] = ` }, ] } - onAdd={[Function]} - onRemove={[Function]} + onAdd={[MockFunction]} + onRemove={[MockFunction]} types={ Array [ "type1", diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/ScannerContext-test.tsx.snap b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/ScannerContext-test.tsx.snap index 8aac352340c..dc47f7e97c5 100644 --- a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/ScannerContext-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/ScannerContext-test.tsx.snap @@ -4,7 +4,7 @@ exports[`renders 1`] = ` <Modal contentLabel="scanner context" large={true} - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <div className="modal-head" diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Stacktrace-test.tsx.snap b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Stacktrace-test.tsx.snap index 5e3d7a5a25f..3c3c6519c93 100644 --- a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Stacktrace-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Stacktrace-test.tsx.snap @@ -4,7 +4,7 @@ exports[`renders 1`] = ` <Modal contentLabel="stacktrace" large={true} - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <div className="modal-head" diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Task-test.tsx.snap b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Task-test.tsx.snap index 0fab9afcace..36c6d8c522f 100644 --- a/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Task-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/background-tasks/components/__tests__/__snapshots__/Task-test.tsx.snap @@ -33,8 +33,8 @@ exports[`renders 1`] = ` /> <TaskExecutionTime /> <TaskActions - onCancelTask={[Function]} - onFilterTask={[Function]} + onCancelTask={[MockFunction]} + onFilterTask={[MockFunction]} task={ Object { "componentName": "foo", diff --git a/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/__tests__/__snapshots__/ConciseIssue-test.js.snap b/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/__tests__/__snapshots__/ConciseIssue-test.js.snap index 5fe2d0a4e5d..d41358928d1 100644 --- a/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/__tests__/__snapshots__/ConciseIssue-test.js.snap +++ b/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/__tests__/__snapshots__/ConciseIssue-test.js.snap @@ -5,7 +5,7 @@ exports[`should render 1`] = ` <ConciseIssueComponent /> <ConciseIssueBox issue={Object {}} - onClick={[Function]} + onClick={[MockFunction]} selected={false} selectedFlowIndex={null} selectedLocationIndex={null} diff --git a/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/LicenseEditionForm-test.tsx.snap b/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/LicenseEditionForm-test.tsx.snap index c70a6a6abb0..9c3d5970d11 100644 --- a/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/LicenseEditionForm-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/LicenseEditionForm-test.tsx.snap @@ -3,7 +3,7 @@ exports[`should display correctly 1`] = ` <Modal contentLabel="marketplace.upgrade_to_x.Foo" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" diff --git a/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/UninstallEditionForm-test.tsx.snap b/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/UninstallEditionForm-test.tsx.snap index 0493fdbf245..06d57cb8f6f 100644 --- a/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/UninstallEditionForm-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/UninstallEditionForm-test.tsx.snap @@ -3,7 +3,7 @@ exports[`should display correctly 1`] = ` <Modal contentLabel="marketplace.downgrade_to_community_edition." - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" diff --git a/server/sonar-web/src/main/js/apps/organizations/components/__tests__/__snapshots__/MembersListHeader-test.js.snap b/server/sonar-web/src/main/js/apps/organizations/components/__tests__/__snapshots__/MembersListHeader-test.js.snap index 42461a5120c..7bfe2725e60 100644 --- a/server/sonar-web/src/main/js/apps/organizations/components/__tests__/__snapshots__/MembersListHeader-test.js.snap +++ b/server/sonar-web/src/main/js/apps/organizations/components/__tests__/__snapshots__/MembersListHeader-test.js.snap @@ -6,7 +6,7 @@ exports[`should render with the total 1`] = ` > <SearchBox minLength={2} - onChange={[Function]} + onChange={[MockFunction]} placeholder="search.search_for_users" /> <span @@ -27,7 +27,7 @@ exports[`should render without the total 1`] = ` > <SearchBox minLength={2} - onChange={[Function]} + onChange={[MockFunction]} placeholder="search.search_for_users" /> </div> diff --git a/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/App-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/App-test.tsx.snap index e9d41bf777e..1c14e27cdbe 100644 --- a/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/App-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/App-test.tsx.snap @@ -79,7 +79,7 @@ exports[`renders sorted list of branches 1`] = ` } component="foo" key="master" - onChange={[Function]} + onChange={[MockFunction]} /> <BranchRow branch={ @@ -92,7 +92,7 @@ exports[`renders sorted list of branches 1`] = ` } component="foo" key="branch-1.0" - onChange={[Function]} + onChange={[MockFunction]} /> <BranchRow branch={ @@ -104,7 +104,7 @@ exports[`renders sorted list of branches 1`] = ` } component="foo" key="branch-1.0" - onChange={[Function]} + onChange={[MockFunction]} /> </tbody> </table> diff --git a/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/DeleteBranchModal-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/DeleteBranchModal-test.tsx.snap index 0cfc9a4ebb6..8571673e611 100644 --- a/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/DeleteBranchModal-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/DeleteBranchModal-test.tsx.snap @@ -3,7 +3,7 @@ exports[`renders 1`] = ` <Modal contentLabel="branches.delete" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -44,7 +44,7 @@ exports[`renders 1`] = ` exports[`renders 2`] = ` <Modal contentLabel="branches.delete" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" diff --git a/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/LongBranchesPatternForm-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/LongBranchesPatternForm-test.tsx.snap index d75d4297d92..07725582cdf 100644 --- a/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/LongBranchesPatternForm-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/LongBranchesPatternForm-test.tsx.snap @@ -3,7 +3,7 @@ exports[`renders 1`] = ` <Modal contentLabel="branches.detection_of_long_living_branches" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -13,8 +13,8 @@ exports[`renders 1`] = ` </h2> </header> <SettingForm - onChange={[Function]} - onClose={[Function]} + onChange={[MockFunction]} + onClose={[MockFunction]} project="project" setting={ Object { diff --git a/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/RenameBranchModal-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/RenameBranchModal-test.tsx.snap index 5df1cc12dcf..2960f04d2d9 100644 --- a/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/RenameBranchModal-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectBranches/components/__tests__/__snapshots__/RenameBranchModal-test.tsx.snap @@ -3,7 +3,7 @@ exports[`renders 1`] = ` <Modal contentLabel="branches.rename" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -67,7 +67,7 @@ exports[`renders 1`] = ` exports[`renders 2`] = ` <Modal contentLabel="branches.rename" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -131,7 +131,7 @@ exports[`renders 2`] = ` exports[`renders 3`] = ` <Modal contentLabel="branches.rename" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" diff --git a/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/__snapshots__/Table-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/__snapshots__/Table-test.tsx.snap index b77fae2826b..a64ebb3f105 100644 --- a/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/__snapshots__/Table-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/__snapshots__/Table-test.tsx.snap @@ -27,7 +27,7 @@ exports[`renders 1`] = ` <tbody> <ProfileRow key="java" - onChangeProfile={[Function]} + onChangeProfile={[MockFunction]} possibleProfiles={ Array [ Object { @@ -73,7 +73,7 @@ exports[`renders 1`] = ` /> <ProfileRow key="js" - onChangeProfile={[Function]} + onChangeProfile={[MockFunction]} possibleProfiles={ Array [ Object { diff --git a/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageHeader-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageHeader-test.tsx.snap index 75cede0fa15..0f745872f11 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageHeader-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageHeader-test.tsx.snap @@ -6,18 +6,18 @@ exports[`should render correctly 1`] = ` > <PerspectiveSelect className="projects-topbar-item js-projects-perspective-select" - onChange={[Function]} + onChange={[MockFunction]} view="overall" /> <ProjectsSortingSelect className="projects-topbar-item js-projects-sorting-select" defaultOption="analysis_date" - onChange={[Function]} + onChange={[MockFunction]} selectedSort="size" view="overall" /> <SearchFilterContainer - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "search": "test", @@ -46,18 +46,18 @@ exports[`should render correctly while loading 1`] = ` > <PerspectiveSelect className="projects-topbar-item js-projects-perspective-select" - onChange={[Function]} + onChange={[MockFunction]} view="overall" /> <ProjectsSortingSelect className="projects-topbar-item js-projects-sorting-select" defaultOption="analysis_date" - onChange={[Function]} + onChange={[MockFunction]} selectedSort="size" view="overall" /> <SearchFilterContainer - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "search": "test", @@ -89,7 +89,7 @@ exports[`should render disabled sorting options for visualizations 1`] = ` > <PerspectiveSelect className="projects-topbar-item js-projects-perspective-select" - onChange={[Function]} + onChange={[MockFunction]} view="visualizations" visualization="coverage" /> @@ -103,14 +103,14 @@ exports[`should render disabled sorting options for visualizations 1`] = ` <ProjectsSortingSelect className="js-projects-sorting-select" defaultOption="analysis_date" - onChange={[Function]} + onChange={[MockFunction]} selectedSort="size" view="visualizations" /> </div> </Tooltip> <SearchFilterContainer - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "search": "test", @@ -127,7 +127,7 @@ exports[`should render switch the default sorting option for anonymous users 1`] <ProjectsSortingSelect className="projects-topbar-item js-projects-sorting-select" defaultOption="name" - onChange={[Function]} + onChange={[MockFunction]} selectedSort="size" view="overall" /> @@ -137,7 +137,7 @@ exports[`should render switch the default sorting option for anonymous users 2`] <ProjectsSortingSelect className="projects-topbar-item js-projects-sorting-select" defaultOption="analysis_date" - onChange={[Function]} + onChange={[MockFunction]} selectedSort="size" view="leak" /> diff --git a/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageSidebar-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageSidebar-test.tsx.snap index 2ff7b55d83b..08094081128 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageSidebar-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/components/__tests__/__snapshots__/PageSidebar-test.tsx.snap @@ -17,7 +17,7 @@ exports[`should render \`leak\` view correctly 1`] = ` </h3> </div> <QualityGateFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "view": "leak", @@ -26,7 +26,7 @@ exports[`should render \`leak\` view correctly 1`] = ` /> <React.Fragment> <NewReliabilityFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "view": "leak", @@ -34,7 +34,7 @@ exports[`should render \`leak\` view correctly 1`] = ` } /> <NewSecurityFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "view": "leak", @@ -42,7 +42,7 @@ exports[`should render \`leak\` view correctly 1`] = ` } /> <NewMaintainabilityFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "view": "leak", @@ -50,7 +50,7 @@ exports[`should render \`leak\` view correctly 1`] = ` } /> <NewCoverageFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "view": "leak", @@ -58,7 +58,7 @@ exports[`should render \`leak\` view correctly 1`] = ` } /> <NewDuplicationsFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "view": "leak", @@ -66,7 +66,7 @@ exports[`should render \`leak\` view correctly 1`] = ` } /> <NewLinesFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "view": "leak", @@ -75,7 +75,7 @@ exports[`should render \`leak\` view correctly 1`] = ` /> </React.Fragment> <Connect(LanguagesFilter) - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "view": "leak", @@ -83,7 +83,7 @@ exports[`should render \`leak\` view correctly 1`] = ` } /> <TagsFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "view": "leak", @@ -100,14 +100,14 @@ exports[`should render correctly 1`] = ` className="projects-facets-header clearfix" > <ClearAll - onClearAll={[Function]} + onClearAll={[MockFunction]} /> <h3> filters </h3> </div> <QualityGateFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "size": "3", @@ -116,7 +116,7 @@ exports[`should render correctly 1`] = ` /> <React.Fragment> <ReliabilityFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "size": "3", @@ -124,7 +124,7 @@ exports[`should render correctly 1`] = ` } /> <SecurityFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "size": "3", @@ -132,7 +132,7 @@ exports[`should render correctly 1`] = ` } /> <MaintainabilityFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "size": "3", @@ -140,7 +140,7 @@ exports[`should render correctly 1`] = ` } /> <CoverageFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "size": "3", @@ -148,7 +148,7 @@ exports[`should render correctly 1`] = ` } /> <DuplicationsFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "size": "3", @@ -156,7 +156,7 @@ exports[`should render correctly 1`] = ` } /> <SizeFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "size": "3", @@ -166,7 +166,7 @@ exports[`should render correctly 1`] = ` /> </React.Fragment> <Connect(LanguagesFilter) - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "size": "3", @@ -174,7 +174,7 @@ exports[`should render correctly 1`] = ` } /> <TagsFilter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} query={ Object { "size": "3", diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/CoverageFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/CoverageFilter-test.tsx.snap index 49e49f3c84c..1c61cac529c 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/CoverageFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/CoverageFilter-test.tsx.snap @@ -10,7 +10,7 @@ exports[`renders 1`] = ` } highlightUnder={1} highlightUnderMax={5} - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ 1, diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/DuplicationsFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/DuplicationsFilter-test.tsx.snap index f70e42fab8f..255bd60899e 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/DuplicationsFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/DuplicationsFilter-test.tsx.snap @@ -10,7 +10,7 @@ exports[`renders 1`] = ` } highlightUnder={1} highlightUnderMax={5} - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ 1, diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/IssuesFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/IssuesFilter-test.tsx.snap index 64939661984..f9794832bdd 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/IssuesFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/IssuesFilter-test.tsx.snap @@ -9,7 +9,7 @@ exports[`renders 1`] = ` /> } highlightUnder={1} - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ 1, diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/LanguagesFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/LanguagesFilter-test.tsx.snap index f599e813c5d..bbaf619be4f 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/LanguagesFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/LanguagesFilter-test.tsx.snap @@ -12,7 +12,7 @@ exports[`should render maximum 10 languages in the searchbox results 1`] = ` } footer={ <SearchableFilterFooter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ Object { @@ -75,7 +75,7 @@ exports[`should render maximum 10 languages in the searchbox results 1`] = ` name="projects.facets.languages" /> } - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ "java", @@ -114,7 +114,7 @@ exports[`should render the languages facet with the selected languages 1`] = ` } footer={ <SearchableFilterFooter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ Object { @@ -149,7 +149,7 @@ exports[`should render the languages facet with the selected languages 1`] = ` name="projects.facets.languages" /> } - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ "java", @@ -267,7 +267,7 @@ exports[`should render the languages facet with the selected languages 2`] = ` </a> </div> <SearchableFilterFooter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ Object { @@ -308,7 +308,7 @@ exports[`should render the languages without the ones in the facet 1`] = ` } footer={ <SearchableFilterFooter - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ Object { @@ -340,7 +340,7 @@ exports[`should render the languages without the ones in the facet 1`] = ` name="projects.facets.languages" /> } - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ "java", diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/MaintainabilityFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/MaintainabilityFilter-test.tsx.snap index ffa5b740b76..1868c31fa51 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/MaintainabilityFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/MaintainabilityFilter-test.tsx.snap @@ -15,7 +15,7 @@ exports[`renders 1`] = ` </span> } name="Maintainability" - onQueryChange={[Function]} + onQueryChange={[MockFunction]} property="maintainability" query={Object {}} /> diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewCoverageFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewCoverageFilter-test.tsx.snap index b9972e1255e..11e95aab04c 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewCoverageFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewCoverageFilter-test.tsx.snap @@ -3,7 +3,7 @@ exports[`renders 1`] = ` <CoverageFilter className="leak-facet-box" - onQueryChange={[Function]} + onQueryChange={[MockFunction]} property="new_coverage" query={Object {}} /> diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewDuplicationsFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewDuplicationsFilter-test.tsx.snap index 2f5c0bb6e71..91a1620bb86 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewDuplicationsFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewDuplicationsFilter-test.tsx.snap @@ -3,7 +3,7 @@ exports[`renders 1`] = ` <DuplicationsFilter className="leak-facet-box" - onQueryChange={[Function]} + onQueryChange={[MockFunction]} property="new_duplications" query={Object {}} /> diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewLinesFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewLinesFilter-test.tsx.snap index d2de9bc1ea4..bb776a87a60 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewLinesFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewLinesFilter-test.tsx.snap @@ -10,7 +10,7 @@ exports[`renders 1`] = ` /> } highlightUnder={1} - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ 1, diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewMaintainabilityFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewMaintainabilityFilter-test.tsx.snap index c1d5ebaf375..847e466d22d 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewMaintainabilityFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewMaintainabilityFilter-test.tsx.snap @@ -16,7 +16,7 @@ exports[`renders 1`] = ` </span> } name="Maintainability" - onQueryChange={[Function]} + onQueryChange={[MockFunction]} property="new_maintainability" query={Object {}} /> diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewReliabilityFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewReliabilityFilter-test.tsx.snap index 0a10f640261..4e2ada64cb3 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewReliabilityFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewReliabilityFilter-test.tsx.snap @@ -16,7 +16,7 @@ exports[`renders 1`] = ` </span> } name="Reliability" - onQueryChange={[Function]} + onQueryChange={[MockFunction]} property="new_reliability" query={Object {}} /> diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewSecurityFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewSecurityFilter-test.tsx.snap index 493fcad02e5..18c0cfc374e 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewSecurityFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/NewSecurityFilter-test.tsx.snap @@ -16,7 +16,7 @@ exports[`renders 1`] = ` </span> } name="Security" - onQueryChange={[Function]} + onQueryChange={[MockFunction]} property="new_security" query={Object {}} /> diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/QualityGateFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/QualityGateFilter-test.tsx.snap index 3b75ce1ab21..a3e2df44741 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/QualityGateFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/QualityGateFilter-test.tsx.snap @@ -8,7 +8,7 @@ exports[`renders 1`] = ` name="projects.facets.quality_gate" /> } - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ "OK", diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/ReliabilityFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/ReliabilityFilter-test.tsx.snap index a846594a324..19573d138a4 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/ReliabilityFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/ReliabilityFilter-test.tsx.snap @@ -15,7 +15,7 @@ exports[`renders 1`] = ` </span> } name="Reliability" - onQueryChange={[Function]} + onQueryChange={[MockFunction]} property="reliability" query={Object {}} /> diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SecurityFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SecurityFilter-test.tsx.snap index 693c67c08ab..3dd4b038e39 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SecurityFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SecurityFilter-test.tsx.snap @@ -15,7 +15,7 @@ exports[`renders 1`] = ` </span> } name="Security" - onQueryChange={[Function]} + onQueryChange={[MockFunction]} property="security" query={Object {}} /> diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SizeFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SizeFilter-test.tsx.snap index dd4378985d6..135024ac542 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SizeFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SizeFilter-test.tsx.snap @@ -9,7 +9,7 @@ exports[`renders 1`] = ` /> } highlightUnder={1} - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ 1, diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/TagsFilter-test.tsx.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/TagsFilter-test.tsx.snap index d28245d7c59..5bec18a1ba2 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/TagsFilter-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/TagsFilter-test.tsx.snap @@ -15,7 +15,7 @@ exports[`should render maximum 10 tags in the searchbox results 1`] = ` isLoading={false} onInputChange={[Function]} onOpen={[Function]} - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ Object { @@ -78,7 +78,7 @@ exports[`should render maximum 10 tags in the searchbox results 1`] = ` name="projects.facets.tags" /> } - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ "lang", @@ -120,7 +120,7 @@ exports[`should render the tags facet with the selected tags 1`] = ` isLoading={false} onInputChange={[Function]} onOpen={[Function]} - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={Array []} organization={undefined} property="tags" @@ -140,7 +140,7 @@ exports[`should render the tags facet with the selected tags 1`] = ` name="projects.facets.tags" /> } - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ "lang", @@ -243,7 +243,7 @@ exports[`should render the tags facet with the selected tags 2`] = ` isLoading={false} onInputChange={[Function]} onOpen={[Function]} - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={Array []} property="tags" query={ @@ -272,7 +272,7 @@ exports[`should render the tags without the ones in the facet 1`] = ` isLoading={false} onInputChange={[Function]} onOpen={[Function]} - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={Array []} organization={undefined} property="tags" @@ -289,7 +289,7 @@ exports[`should render the tags without the ones in the facet 1`] = ` name="projects.facets.tags" /> } - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ "lang", @@ -321,7 +321,7 @@ exports[`should render the tags without the ones in the facet 2`] = ` isLoading={false} onInputChange={[Function]} onOpen={[Function]} - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ Object { @@ -353,7 +353,7 @@ exports[`should render the tags without the ones in the facet 2`] = ` name="projects.facets.tags" /> } - onQueryChange={[Function]} + onQueryChange={[MockFunction]} options={ Array [ "lang", diff --git a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/BulkApplyTemplateModal-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/BulkApplyTemplateModal-test.tsx.snap index 960502692b6..fc6070810f9 100644 --- a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/BulkApplyTemplateModal-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/BulkApplyTemplateModal-test.tsx.snap @@ -3,7 +3,7 @@ exports[`bulk applies template to all results 1`] = ` <Modal contentLabel="permission_templates.bulk_apply_permission_template" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -36,7 +36,7 @@ exports[`bulk applies template to all results 1`] = ` exports[`bulk applies template to all results 2`] = ` <Modal contentLabel="permission_templates.bulk_apply_permission_template" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -111,7 +111,7 @@ exports[`bulk applies template to all results 2`] = ` exports[`bulk applies template to all results 3`] = ` <Modal contentLabel="permission_templates.bulk_apply_permission_template" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -189,7 +189,7 @@ exports[`bulk applies template to all results 3`] = ` exports[`bulk applies template to all results 4`] = ` <Modal contentLabel="permission_templates.bulk_apply_permission_template" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -224,7 +224,7 @@ exports[`bulk applies template to all results 4`] = ` exports[`bulk applies template to selected results 1`] = ` <Modal contentLabel="permission_templates.bulk_apply_permission_template" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -257,7 +257,7 @@ exports[`bulk applies template to selected results 1`] = ` exports[`bulk applies template to selected results 2`] = ` <Modal contentLabel="permission_templates.bulk_apply_permission_template" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -332,7 +332,7 @@ exports[`bulk applies template to selected results 2`] = ` exports[`bulk applies template to selected results 3`] = ` <Modal contentLabel="permission_templates.bulk_apply_permission_template" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -410,7 +410,7 @@ exports[`bulk applies template to selected results 3`] = ` exports[`bulk applies template to selected results 4`] = ` <Modal contentLabel="permission_templates.bulk_apply_permission_template" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" diff --git a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ChangeVisibilityForm-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ChangeVisibilityForm-test.tsx.snap index 1ab30336149..c2471bfc944 100644 --- a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ChangeVisibilityForm-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ChangeVisibilityForm-test.tsx.snap @@ -3,7 +3,7 @@ exports[`changes visibility 1`] = ` <Modal contentLabel="modal form" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -100,7 +100,7 @@ exports[`changes visibility 1`] = ` exports[`changes visibility 2`] = ` <Modal contentLabel="modal form" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -197,7 +197,7 @@ exports[`changes visibility 2`] = ` exports[`renders disabled 1`] = ` <Modal contentLabel="modal form" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" diff --git a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/CreateProjectForm-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/CreateProjectForm-test.tsx.snap index 0a24881df61..71af5dfa82d 100644 --- a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/CreateProjectForm-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/CreateProjectForm-test.tsx.snap @@ -3,7 +3,7 @@ exports[`creates project 1`] = ` <Modal contentLabel="modal form" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <form id="create-project-form" @@ -122,7 +122,7 @@ exports[`creates project 1`] = ` exports[`creates project 2`] = ` <Modal contentLabel="modal form" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <form id="create-project-form" @@ -241,7 +241,7 @@ exports[`creates project 2`] = ` exports[`creates project 3`] = ` <Modal contentLabel="modal form" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <form id="create-project-form" @@ -363,7 +363,7 @@ exports[`creates project 3`] = ` exports[`creates project 4`] = ` <Modal contentLabel="modal form" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <div> <header @@ -422,7 +422,7 @@ exports[`creates project 4`] = ` exports[`shows more 1`] = ` <Modal contentLabel="modal form" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <form id="create-project-form" @@ -541,7 +541,7 @@ exports[`shows more 1`] = ` exports[`shows more 2`] = ` <Modal contentLabel="modal form" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <form id="create-project-form" diff --git a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/DeleteModal-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/DeleteModal-test.tsx.snap index d33cef35d25..77ea7ac64fc 100644 --- a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/DeleteModal-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/DeleteModal-test.tsx.snap @@ -3,7 +3,7 @@ exports[`deletes all projects 1`] = ` <Modal contentLabel="qualifiers.delete.TRK" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -49,7 +49,7 @@ exports[`deletes all projects 1`] = ` exports[`deletes all projects 2`] = ` <Modal contentLabel="qualifiers.delete.TRK" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -98,7 +98,7 @@ exports[`deletes all projects 2`] = ` exports[`deletes selected projects 1`] = ` <Modal contentLabel="qualifiers.delete.TRK" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -144,7 +144,7 @@ exports[`deletes selected projects 1`] = ` exports[`deletes selected projects 2`] = ` <Modal contentLabel="qualifiers.delete.TRK" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" diff --git a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/Header-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/Header-test.tsx.snap index e001d3f7298..aefc34315dd 100644 --- a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/Header-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/Header-test.tsx.snap @@ -3,7 +3,7 @@ exports[`changes default visibility 1`] = ` <ChangeVisibilityForm onClose={[Function]} - onConfirm={[Function]} + onConfirm={[MockFunction]} organization={ Object { "key": "org", diff --git a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ProjectRow-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ProjectRow-test.tsx.snap index 49178bc7abd..7c62905a04c 100644 --- a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ProjectRow-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ProjectRow-test.tsx.snap @@ -70,7 +70,7 @@ exports[`renders 1`] = ` "login": "foo", } } - onApplyTemplate={[Function]} + onApplyTemplate={[MockFunction]} project={ Object { "key": "project", @@ -152,7 +152,7 @@ exports[`renders 2`] = ` "login": "foo", } } - onApplyTemplate={[Function]} + onApplyTemplate={[MockFunction]} project={ Object { "key": "project", diff --git a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/Search-test.tsx.snap b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/Search-test.tsx.snap index 254a3215e07..15ccbea3e9b 100644 --- a/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/Search-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/Search-test.tsx.snap @@ -88,7 +88,7 @@ exports[`render qualifiers filter 1`] = ` inputClassName="input-medium" maxDate="+0" name="analyzed-before" - onChange={[Function]} + onChange={[MockFunction]} placeholder="last_analysis_before" /> </td> @@ -99,7 +99,7 @@ exports[`render qualifiers filter 1`] = ` checked={false} className="link-checkbox-control" id="projects-provisioned" - onCheck={[Function]} + onCheck={[MockFunction]} thirdState={false} > <span @@ -122,7 +122,7 @@ exports[`render qualifiers filter 1`] = ` > <SearchBox minLength={3} - onChange={[Function]} + onChange={[MockFunction]} placeholder="search.search_by_name_or_key" value="" /> @@ -178,7 +178,7 @@ exports[`renders 1`] = ` inputClassName="input-medium" maxDate="+0" name="analyzed-before" - onChange={[Function]} + onChange={[MockFunction]} placeholder="last_analysis_before" /> </td> @@ -189,7 +189,7 @@ exports[`renders 1`] = ` checked={false} className="link-checkbox-control" id="projects-provisioned" - onCheck={[Function]} + onCheck={[MockFunction]} thirdState={false} > <span @@ -212,7 +212,7 @@ exports[`renders 1`] = ` > <SearchBox minLength={3} - onChange={[Function]} + onChange={[MockFunction]} placeholder="search.search_by_name_or_key" value="" /> diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfileDetails-test.tsx.snap b/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfileDetails-test.tsx.snap index 85f0f92c7a5..57001b3e68d 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfileDetails-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfileDetails-test.tsx.snap @@ -10,7 +10,7 @@ exports[`renders with edit permission 1`] = ` > <ProfileRules exporters={Array []} - onRequestFail={[Function]} + onRequestFail={[MockFunction]} organization="org" profile={ Object { @@ -20,11 +20,11 @@ exports[`renders with edit permission 1`] = ` } } profiles={Array []} - updateProfiles={[Function]} + updateProfiles={[MockFunction]} /> <ProfileExporters exporters={Array []} - onRequestFail={[Function]} + onRequestFail={[MockFunction]} organization="org" profile={ Object { @@ -34,7 +34,7 @@ exports[`renders with edit permission 1`] = ` } } profiles={Array []} - updateProfiles={[Function]} + updateProfiles={[MockFunction]} /> <ProfilePermissions organization="org" @@ -52,7 +52,7 @@ exports[`renders with edit permission 1`] = ` > <ProfileInheritance exporters={Array []} - onRequestFail={[Function]} + onRequestFail={[MockFunction]} organization="org" profile={ Object { @@ -62,11 +62,11 @@ exports[`renders with edit permission 1`] = ` } } profiles={Array []} - updateProfiles={[Function]} + updateProfiles={[MockFunction]} /> <ProfileProjects exporters={Array []} - onRequestFail={[Function]} + onRequestFail={[MockFunction]} organization="org" profile={ Object { @@ -76,7 +76,7 @@ exports[`renders with edit permission 1`] = ` } } profiles={Array []} - updateProfiles={[Function]} + updateProfiles={[MockFunction]} /> </div> </div> @@ -93,19 +93,19 @@ exports[`renders without permissions 1`] = ` > <ProfileRules exporters={Array []} - onRequestFail={[Function]} + onRequestFail={[MockFunction]} organization="org" profile={Object {}} profiles={Array []} - updateProfiles={[Function]} + updateProfiles={[MockFunction]} /> <ProfileExporters exporters={Array []} - onRequestFail={[Function]} + onRequestFail={[MockFunction]} organization="org" profile={Object {}} profiles={Array []} - updateProfiles={[Function]} + updateProfiles={[MockFunction]} /> </div> <div @@ -113,19 +113,19 @@ exports[`renders without permissions 1`] = ` > <ProfileInheritance exporters={Array []} - onRequestFail={[Function]} + onRequestFail={[MockFunction]} organization="org" profile={Object {}} profiles={Array []} - updateProfiles={[Function]} + updateProfiles={[MockFunction]} /> <ProfileProjects exporters={Array []} - onRequestFail={[Function]} + onRequestFail={[MockFunction]} organization="org" profile={Object {}} profiles={Array []} - updateProfiles={[Function]} + updateProfiles={[MockFunction]} /> </div> </div> diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfilePermissionsForm-test.tsx.snap b/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfilePermissionsForm-test.tsx.snap index dcce712ae8a..a4e51e5f160 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfilePermissionsForm-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfilePermissionsForm-test.tsx.snap @@ -3,7 +3,7 @@ exports[`adds group 1`] = ` <Modal contentLabel="quality_profiles.grant_permissions_to_user_or_group" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -41,7 +41,7 @@ exports[`adds group 1`] = ` </button> <button className="button-link" - onClick={[Function]} + onClick={[MockFunction]} type="reset" > cancel @@ -54,7 +54,7 @@ exports[`adds group 1`] = ` exports[`adds group 2`] = ` <Modal contentLabel="quality_profiles.grant_permissions_to_user_or_group" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -97,7 +97,7 @@ exports[`adds group 2`] = ` </button> <button className="button-link" - onClick={[Function]} + onClick={[MockFunction]} type="reset" > cancel @@ -110,7 +110,7 @@ exports[`adds group 2`] = ` exports[`adds group 3`] = ` <Modal contentLabel="quality_profiles.grant_permissions_to_user_or_group" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -156,7 +156,7 @@ exports[`adds group 3`] = ` </button> <button className="button-link" - onClick={[Function]} + onClick={[MockFunction]} type="reset" > cancel @@ -169,7 +169,7 @@ exports[`adds group 3`] = ` exports[`adds user 1`] = ` <Modal contentLabel="quality_profiles.grant_permissions_to_user_or_group" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -207,7 +207,7 @@ exports[`adds user 1`] = ` </button> <button className="button-link" - onClick={[Function]} + onClick={[MockFunction]} type="reset" > cancel @@ -220,7 +220,7 @@ exports[`adds user 1`] = ` exports[`adds user 2`] = ` <Modal contentLabel="quality_profiles.grant_permissions_to_user_or_group" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -263,7 +263,7 @@ exports[`adds user 2`] = ` </button> <button className="button-link" - onClick={[Function]} + onClick={[MockFunction]} type="reset" > cancel @@ -276,7 +276,7 @@ exports[`adds user 2`] = ` exports[`adds user 3`] = ` <Modal contentLabel="quality_profiles.grant_permissions_to_user_or_group" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <header className="modal-head" @@ -322,7 +322,7 @@ exports[`adds user 3`] = ` </button> <button className="button-link" - onClick={[Function]} + onClick={[MockFunction]} type="reset" > cancel diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfilePermissionsFormSelect-test.tsx.snap b/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfilePermissionsFormSelect-test.tsx.snap index 15cbb3f39fb..f5bac4cb5b3 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfilePermissionsFormSelect-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/__snapshots__/ProfilePermissionsFormSelect-test.tsx.snap @@ -8,7 +8,7 @@ exports[`renders 1`] = ` filterOptions={[Function]} isLoading={true} noResultsText="no_results" - onChange={[Function]} + onChange={[MockFunction]} onInputChange={[Function]} optionRenderer={[Function]} options={Array []} diff --git a/server/sonar-web/src/main/js/apps/system/components/system-upgrade/__tests__/__snapshots__/SystemUpgradeForm-test.tsx.snap b/server/sonar-web/src/main/js/apps/system/components/system-upgrade/__tests__/__snapshots__/SystemUpgradeForm-test.tsx.snap index 2530d3b3b8d..230aaf0a0a4 100644 --- a/server/sonar-web/src/main/js/apps/system/components/system-upgrade/__tests__/__snapshots__/SystemUpgradeForm-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/system/components/system-upgrade/__tests__/__snapshots__/SystemUpgradeForm-test.tsx.snap @@ -3,7 +3,7 @@ exports[`should display correctly 1`] = ` <Modal contentLabel="system.system_upgrade" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <div className="modal-head" diff --git a/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/NewOrganizationForm-test.js.snap b/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/NewOrganizationForm-test.js.snap index 8386f670119..40da82493a8 100644 --- a/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/NewOrganizationForm-test.js.snap +++ b/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/NewOrganizationForm-test.js.snap @@ -2,8 +2,8 @@ exports[`creates new organization 1`] = ` <NewOrganizationForm - onDelete={[Function]} - onDone={[Function]} + onDelete={[MockFunction]} + onDone={[MockFunction]} > <form onSubmit={[Function]} @@ -36,8 +36,8 @@ exports[`creates new organization 1`] = ` exports[`creates new organization 2`] = ` <NewOrganizationForm - onDelete={[Function]} - onDone={[Function]} + onDelete={[MockFunction]} + onDone={[MockFunction]} > <form onSubmit={[Function]} @@ -67,8 +67,16 @@ exports[`creates new organization 2`] = ` exports[`creates new organization 3`] = ` <NewOrganizationForm - onDelete={[Function]} - onDone={[Function]} + onDelete={[MockFunction]} + onDone={ + [MockFunction] { + "calls": Array [ + Array [ + "foo", + ], + ], + } + } > <div> <span @@ -104,8 +112,8 @@ exports[`creates new organization 3`] = ` exports[`deletes organization 1`] = ` <NewOrganizationForm - onDelete={[Function]} - onDone={[Function]} + onDelete={[MockFunction]} + onDone={[MockFunction]} > <div> <span @@ -141,8 +149,8 @@ exports[`deletes organization 1`] = ` exports[`deletes organization 2`] = ` <NewOrganizationForm - onDelete={[Function]} - onDone={[Function]} + onDelete={[MockFunction]} + onDone={[MockFunction]} > <div> <span @@ -159,8 +167,14 @@ exports[`deletes organization 2`] = ` exports[`deletes organization 3`] = ` <NewOrganizationForm - onDelete={[Function]} - onDone={[Function]} + onDelete={ + [MockFunction] { + "calls": Array [ + Array [], + ], + } + } + onDone={[MockFunction]} > <form onSubmit={[Function]} diff --git a/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/NewProjectForm-test.js.snap b/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/NewProjectForm-test.js.snap index 1074cf5cefc..5f389a66391 100644 --- a/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/NewProjectForm-test.js.snap +++ b/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/NewProjectForm-test.js.snap @@ -2,8 +2,8 @@ exports[`creates new project 1`] = ` <NewProjectForm - onDelete={[Function]} - onDone={[Function]} + onDelete={[MockFunction]} + onDone={[MockFunction]} > <div className="big-spacer-top" @@ -44,8 +44,8 @@ exports[`creates new project 1`] = ` exports[`creates new project 2`] = ` <NewProjectForm - onDelete={[Function]} - onDone={[Function]} + onDelete={[MockFunction]} + onDone={[MockFunction]} > <div className="big-spacer-top" @@ -83,8 +83,16 @@ exports[`creates new project 2`] = ` exports[`creates new project 3`] = ` <NewProjectForm - onDelete={[Function]} - onDone={[Function]} + onDelete={[MockFunction]} + onDone={ + [MockFunction] { + "calls": Array [ + Array [ + "foo", + ], + ], + } + } > <div className="big-spacer-top" @@ -129,8 +137,8 @@ exports[`creates new project 3`] = ` exports[`deletes project 1`] = ` <NewProjectForm - onDelete={[Function]} - onDone={[Function]} + onDelete={[MockFunction]} + onDone={[MockFunction]} > <div className="big-spacer-top" @@ -175,8 +183,8 @@ exports[`deletes project 1`] = ` exports[`deletes project 2`] = ` <NewProjectForm - onDelete={[Function]} - onDone={[Function]} + onDelete={[MockFunction]} + onDone={[MockFunction]} > <div className="big-spacer-top" @@ -202,8 +210,14 @@ exports[`deletes project 2`] = ` exports[`deletes project 3`] = ` <NewProjectForm - onDelete={[Function]} - onDone={[Function]} + onDelete={ + [MockFunction] { + "calls": Array [ + Array [], + ], + } + } + onDone={[MockFunction]} > <div className="big-spacer-top" diff --git a/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/OrganizationStep-test.js.snap b/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/OrganizationStep-test.js.snap index 48a5505dee2..0f7aa889dd0 100644 --- a/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/OrganizationStep-test.js.snap +++ b/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/OrganizationStep-test.js.snap @@ -9,14 +9,14 @@ exports[`works with existing organization 1`] = ` } } finished={false} - onContinue={[Function]} - onOpen={[Function]} + onContinue={[MockFunction]} + onOpen={[MockFunction]} open={true} stepNumber={1} > <Step finished={false} - onOpen={[Function]} + onOpen={[MockFunction]} open={true} renderForm={[Function]} renderResult={[Function]} diff --git a/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/TokenStep-test.js.snap b/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/TokenStep-test.js.snap index a09c774b420..332780eddec 100644 --- a/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/TokenStep-test.js.snap +++ b/server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/TokenStep-test.js.snap @@ -8,14 +8,14 @@ exports[`generates token 1`] = ` } } finished={false} - onContinue={[Function]} - onOpen={[Function]} + onContinue={[MockFunction]} + onOpen={[MockFunction]} open={true} stepNumber={1} > <Step finished={false} - onOpen={[Function]} + onOpen={[MockFunction]} open={true} renderForm={[Function]} renderResult={[Function]} @@ -110,14 +110,14 @@ exports[`generates token 2`] = ` } } finished={false} - onContinue={[Function]} - onOpen={[Function]} + onContinue={[MockFunction]} + onOpen={[MockFunction]} open={true} stepNumber={1} > <Step finished={false} - onOpen={[Function]} + onOpen={[MockFunction]} open={true} renderForm={[Function]} renderResult={[Function]} @@ -209,14 +209,14 @@ exports[`generates token 3`] = ` } } finished={false} - onContinue={[Function]} - onOpen={[Function]} + onContinue={[MockFunction]} + onOpen={[MockFunction]} open={true} stepNumber={1} > <Step finished={false} - onOpen={[Function]} + onOpen={[MockFunction]} open={true} renderForm={[Function]} renderResult={[Function]} @@ -307,14 +307,14 @@ exports[`revokes token 1`] = ` } } finished={false} - onContinue={[Function]} - onOpen={[Function]} + onContinue={[MockFunction]} + onOpen={[MockFunction]} open={true} stepNumber={1} > <Step finished={false} - onOpen={[Function]} + onOpen={[MockFunction]} open={true} renderForm={[Function]} renderResult={[Function]} @@ -405,14 +405,14 @@ exports[`revokes token 2`] = ` } } finished={false} - onContinue={[Function]} - onOpen={[Function]} + onContinue={[MockFunction]} + onOpen={[MockFunction]} open={true} stepNumber={1} > <Step finished={false} - onOpen={[Function]} + onOpen={[MockFunction]} open={true} renderForm={[Function]} renderResult={[Function]} @@ -484,14 +484,14 @@ exports[`revokes token 3`] = ` } } finished={false} - onContinue={[Function]} - onOpen={[Function]} + onContinue={[MockFunction]} + onOpen={[MockFunction]} open={true} stepNumber={1} > <Step finished={false} - onOpen={[Function]} + onOpen={[MockFunction]} open={true} renderForm={[Function]} renderResult={[Function]} diff --git a/server/sonar-web/src/main/js/apps/users/__tests__/__snapshots__/UsersList.tsx.snap b/server/sonar-web/src/main/js/apps/users/__tests__/__snapshots__/UsersList.tsx.snap index 5fc532a3be4..b3a9562ccdd 100644 --- a/server/sonar-web/src/main/js/apps/users/__tests__/__snapshots__/UsersList.tsx.snap +++ b/server/sonar-web/src/main/js/apps/users/__tests__/__snapshots__/UsersList.tsx.snap @@ -35,9 +35,9 @@ exports[`should render correctly 1`] = ` <UserListItem isCurrentUser={true} key="luke" - onUpdateUsers={[Function]} + onUpdateUsers={[MockFunction]} organizationsEnabled={true} - updateTokensCount={[Function]} + updateTokensCount={[MockFunction]} user={ Object { "active": true, @@ -51,9 +51,9 @@ exports[`should render correctly 1`] = ` <UserListItem isCurrentUser={false} key="obi" - onUpdateUsers={[Function]} + onUpdateUsers={[MockFunction]} organizationsEnabled={true} - updateTokensCount={[Function]} + updateTokensCount={[MockFunction]} user={ Object { "active": true, diff --git a/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UserListItem-test.tsx.snap b/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UserListItem-test.tsx.snap index c7e647b57dd..d2c0e157903 100644 --- a/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UserListItem-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UserListItem-test.tsx.snap @@ -29,7 +29,7 @@ exports[`should render correctly 1`] = ` <td> <UserGroups groups={Array []} - onUpdateUsers={[Function]} + onUpdateUsers={[MockFunction]} user={ Object { "active": true, @@ -55,7 +55,7 @@ exports[`should render correctly 1`] = ` > <UserActions isCurrentUser={false} - onUpdateUsers={[Function]} + onUpdateUsers={[MockFunction]} user={ Object { "active": true, diff --git a/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UsersSelectSearch-test.tsx.snap b/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UsersSelectSearch-test.tsx.snap index f79a49c65e5..3dee85c0bd5 100644 --- a/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UsersSelectSearch-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UsersSelectSearch-test.tsx.snap @@ -7,7 +7,7 @@ exports[`UsersSelectSearch should render correctly 1`] = ` isLoading={false} labelKey="name" noResultsText="no_results" - onChange={[Function]} + onChange={[MockFunction]} onInputChange={[Function]} optionComponent={[Function]} options={Array []} @@ -47,7 +47,7 @@ exports[`UsersSelectSearch should render correctly 3`] = ` isLoading={false} labelKey="name" noResultsText="no_results" - onChange={[Function]} + onChange={[MockFunction]} onInputChange={[Function]} optionComponent={[Function]} options={ diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineCode-test.js.snap b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineCode-test.js.snap index 2cfc320db91..1cb641e3679 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineCode-test.js.snap +++ b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineCode-test.js.snap @@ -46,8 +46,8 @@ exports[`render code 1`] = ` }, ] } - onIssueClick={[Function]} - onPopupToggle={[Function]} + onIssueClick={[MockFunction]} + onPopupToggle={[MockFunction]} openPopup={null} selectedIssue="issue-1" /> diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssuesList-test.js.snap b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssuesList-test.js.snap index 1bae77158dd..6612498bbc8 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssuesList-test.js.snap +++ b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/__snapshots__/LineIssuesList-test.js.snap @@ -13,8 +13,8 @@ exports[`render issues list 1`] = ` } } key="foo" - onClick={[Function]} - onPopupToggle={[Function]} + onClick={[MockFunction]} + onPopupToggle={[MockFunction]} openPopup={null} selected={true} /> @@ -27,8 +27,8 @@ exports[`render issues list 1`] = ` } } key="bar" - onClick={[Function]} - onPopupToggle={[Function]} + onClick={[MockFunction]} + onPopupToggle={[MockFunction]} openPopup={null} selected={false} /> diff --git a/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/BubbleChart-test.js.snap b/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/BubbleChart-test.js.snap index e5854e7792f..b4cc499c2be 100644 --- a/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/BubbleChart-test.js.snap +++ b/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/BubbleChart-test.js.snap @@ -112,7 +112,7 @@ exports[`should render bubbles with click handlers 1`] = ` <Bubble key="0" link="foo" - onClick={[Function]} + onClick={[MockFunction]} r={45} x={-10} y={52.3015873015873} @@ -136,7 +136,7 @@ exports[`should render bubbles with click handlers 2`] = ` <Bubble key="1" link="bar" - onClick={[Function]} + onClick={[MockFunction]} r={33.57142857142857} x={-75} y={33.57142857142857} diff --git a/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/BubblePopupHelper-test.js.snap b/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/BubblePopupHelper-test.js.snap index 9234d2e1550..51f8e93fda5 100644 --- a/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/BubblePopupHelper-test.js.snap +++ b/server/sonar-web/src/main/js/components/common/__tests__/__snapshots__/BubblePopupHelper-test.js.snap @@ -8,7 +8,7 @@ exports[`should correctly handle clicks on the button 1`] = ` tabIndex={0} > <button - onClick={[Function]} + onClick={[MockFunction]} > open </button> @@ -23,7 +23,24 @@ exports[`should correctly handle clicks on the button 2`] = ` tabIndex={0} > <button - onClick={[Function]} + onClick={ + [MockFunction] { + "calls": Array [ + Array [ + Object { + "currentTarget": Object { + "blur": [Function], + }, + "preventDefault": [Function], + "stopPropagation": [Function], + "target": Object { + "blur": [Function], + }, + }, + ], + ], + } + } > open </button> @@ -75,7 +92,7 @@ exports[`should render an open popup on the right 1`] = ` tabIndex={0} > <button - onClick={[Function]} + onClick={[MockFunction]} > open </button> @@ -104,7 +121,7 @@ exports[`should render the popup helper with a closed popup 1`] = ` tabIndex={0} > <button - onClick={[Function]} + onClick={[MockFunction]} > open </button> @@ -142,7 +159,7 @@ exports[`should render with custom classes 1`] = ` tabIndex={0} > <button - onClick={[Function]} + onClick={[MockFunction]} > open </button> diff --git a/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/SimpleModal-test.tsx.snap b/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/SimpleModal-test.tsx.snap index 07abfb6a573..359048021d7 100644 --- a/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/SimpleModal-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/controls/__tests__/__snapshots__/SimpleModal-test.tsx.snap @@ -3,7 +3,7 @@ exports[`renders 1`] = ` <Modal contentLabel="" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <div /> </Modal> @@ -12,7 +12,7 @@ exports[`renders 1`] = ` exports[`submits 1`] = ` <Modal contentLabel="" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <button disabled={false} @@ -26,7 +26,7 @@ exports[`submits 1`] = ` exports[`submits 2`] = ` <Modal contentLabel="" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <button disabled={true} @@ -40,7 +40,7 @@ exports[`submits 2`] = ` exports[`submits 3`] = ` <Modal contentLabel="" - onRequestClose={[Function]} + onRequestClose={[MockFunction]} > <button disabled={false} diff --git a/server/sonar-web/src/main/js/components/facet/__tests__/__snapshots__/FacetFooter-test.js.snap b/server/sonar-web/src/main/js/components/facet/__tests__/__snapshots__/FacetFooter-test.js.snap index e2475bdc5dd..e57d0a002f6 100644 --- a/server/sonar-web/src/main/js/components/facet/__tests__/__snapshots__/FacetFooter-test.js.snap +++ b/server/sonar-web/src/main/js/components/facet/__tests__/__snapshots__/FacetFooter-test.js.snap @@ -7,8 +7,8 @@ exports[`should render 1`] = ` <SearchSelect autofocus={false} minimumQueryLength={2} - onSearch={[Function]} - onSelect={[Function]} + onSearch={[MockFunction]} + onSelect={[MockFunction]} resetOnBlur={true} /> </div> diff --git a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueAssign-test.js.snap b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueAssign-test.js.snap index 5823525789c..a95bb5a84c5 100644 --- a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueAssign-test.js.snap +++ b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueAssign-test.js.snap @@ -30,8 +30,8 @@ exports[`should open the popup when the button is clicked 2`] = ` "assigneeName": "John Doe", } } - onFail={[Function]} - onSelect={[Function]} + onFail={[MockFunction]} + onSelect={[MockFunction]} /> } position="bottomleft" @@ -77,8 +77,8 @@ exports[`should render with the action 1`] = ` "assigneeName": "John Doe", } } - onFail={[Function]} - onSelect={[Function]} + onFail={[MockFunction]} + onSelect={[MockFunction]} /> } position="bottomleft" diff --git a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueChangelog-test.js.snap b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueChangelog-test.js.snap index 30f81a378f2..121ff82e65c 100644 --- a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueChangelog-test.js.snap +++ b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueChangelog-test.js.snap @@ -21,7 +21,7 @@ exports[`should open the popup when the button is clicked 2`] = ` "key": "issuekey", } } - onFail={[Function]} + onFail={[MockFunction]} /> } position="bottomright" @@ -67,7 +67,7 @@ exports[`should render correctly 1`] = ` "key": "issuekey", } } - onFail={[Function]} + onFail={[MockFunction]} /> } position="bottomright" diff --git a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueCommentAction-test.js.snap b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueCommentAction-test.js.snap index 13f54108ff2..7305e5d8472 100644 --- a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueCommentAction-test.js.snap +++ b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueCommentAction-test.js.snap @@ -11,11 +11,23 @@ exports[`should open the popup when the button is clicked 1`] = ` customClass="issue-comment-bubble-popup" onComment={[Function]} placeholder={undefined} - toggleComment={[Function]} + toggleComment={ + [MockFunction] { + "calls": Array [ + Array [], + ], + } + } /> } position="bottomleft" - togglePopup={[Function]} + togglePopup={ + [MockFunction] { + "calls": Array [ + Array [], + ], + } + } > <button className="button-link issue-action js-issue-comment" @@ -42,11 +54,11 @@ exports[`should render correctly 1`] = ` customClass="issue-comment-bubble-popup" onComment={[Function]} placeholder={undefined} - toggleComment={[Function]} + toggleComment={[MockFunction]} /> } position="bottomleft" - togglePopup={[Function]} + togglePopup={[MockFunction]} > <button className="button-link issue-action js-issue-comment" diff --git a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueTags-test.js.snap b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueTags-test.js.snap index 6cfa1ab8ea8..055531ca38d 100644 --- a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueTags-test.js.snap +++ b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueTags-test.js.snap @@ -23,7 +23,7 @@ exports[`should open the popup when the button is clicked 2`] = ` isOpen={true} popup={ <SetIssueTagsPopup - onFail={[Function]} + onFail={[MockFunction]} organization="foo" selectedTags={ Array [ @@ -59,7 +59,7 @@ exports[`should render with the action 1`] = ` isOpen={false} popup={ <SetIssueTagsPopup - onFail={[Function]} + onFail={[MockFunction]} organization="foo" selectedTags={ Array [ diff --git a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueTitleBar-test.js.snap b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueTitleBar-test.js.snap index edb836a3834..d9f6c77f6b9 100644 --- a/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueTitleBar-test.js.snap +++ b/server/sonar-web/src/main/js/components/issue/components/__tests__/__snapshots__/IssueTitleBar-test.js.snap @@ -48,8 +48,8 @@ exports[`should render the titlebar correctly 1`] = ` }, } } - onFail={[Function]} - togglePopup={[Function]} + onFail={[MockFunction]} + togglePopup={[MockFunction]} /> </li> <li @@ -132,8 +132,8 @@ exports[`should render the titlebar with the filter 1`] = ` }, } } - onFail={[Function]} - togglePopup={[Function]} + onFail={[MockFunction]} + togglePopup={[MockFunction]} /> </li> <li @@ -195,9 +195,9 @@ exports[`should render the titlebar with the filter 1`] = ` }, } } - onFail={[Function]} - onFilter={[Function]} - togglePopup={[Function]} + onFail={[MockFunction]} + onFilter={[MockFunction]} + togglePopup={[MockFunction]} /> </li> </ul> diff --git a/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/CommentDeletePopup-test.js.snap b/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/CommentDeletePopup-test.js.snap index 39049c8b656..634b35907be 100644 --- a/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/CommentDeletePopup-test.js.snap +++ b/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/CommentDeletePopup-test.js.snap @@ -14,7 +14,7 @@ exports[`should render the comment delete popup correctly 1`] = ` </div> <button className="button-red" - onClick={[Function]} + onClick={[MockFunction]} > delete </button> diff --git a/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetSeverityPopup-test.js.snap b/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetSeverityPopup-test.js.snap index bc4c8e02c7f..f5cc9cfed81 100644 --- a/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetSeverityPopup-test.js.snap +++ b/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetSeverityPopup-test.js.snap @@ -15,7 +15,7 @@ exports[`should render tags popup correctly 1`] = ` "INFO", ] } - onSelect={[Function]} + onSelect={[MockFunction]} > <SelectListItem item="BLOCKER" diff --git a/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetTransitionPopup-test.js.snap b/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetTransitionPopup-test.js.snap index 4c67a6da4ec..2b0be175cbe 100644 --- a/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetTransitionPopup-test.js.snap +++ b/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetTransitionPopup-test.js.snap @@ -14,7 +14,7 @@ exports[`should render tags popup correctly 1`] = ` "wontfix", ] } - onSelect={[Function]} + onSelect={[MockFunction]} > <SelectListItem item="confirm" diff --git a/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetTypePopup-test.js.snap b/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetTypePopup-test.js.snap index 6313549adb2..190d91cb61b 100644 --- a/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetTypePopup-test.js.snap +++ b/server/sonar-web/src/main/js/components/issue/popups/__tests__/__snapshots__/SetTypePopup-test.js.snap @@ -13,7 +13,7 @@ exports[`should render tags popup correctly 1`] = ` "CODE_SMELL", ] } - onSelect={[Function]} + onSelect={[MockFunction]} > <SelectListItem item="BUG" diff --git a/server/sonar-web/src/main/js/helpers/__tests__/dates-test.ts b/server/sonar-web/src/main/js/helpers/__tests__/dates-test.ts index 92da301dd22..d4b606c8801 100644 --- a/server/sonar-web/src/main/js/helpers/__tests__/dates-test.ts +++ b/server/sonar-web/src/main/js/helpers/__tests__/dates-test.ts @@ -85,6 +85,8 @@ it('differenceInDays', () => { it('differenceInSeconds', () => { expect(dates.differenceInSeconds(recentDate, parseDate('2017-08-16T10:00:00.000Z'))).toBe(7200); - expect(dates.differenceInSeconds(recentDate, parseDate('2017-08-16T12:00:00.500Z'))).toBe(0); + expect(dates.differenceInSeconds(recentDate, parseDate('2017-08-16T12:00:00.500Z'))).toBeCloseTo( + 0 + ); expect(dates.differenceInSeconds(recentDate, oldDate)).toBe(113356800); }); diff --git a/server/sonar-web/yarn.lock b/server/sonar-web/yarn.lock index 14a1d8ddfe5..43f6f31693e 100644 --- a/server/sonar-web/yarn.lock +++ b/server/sonar-web/yarn.lock @@ -2,6 +2,14 @@ # yarn lockfile v1 +"@babel/code-frame@^7.0.0-beta.35": + version "7.0.0-beta.37" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.37.tgz#2da1dd3b1b57bfdea777ddc378df7cd12fe40171" + dependencies: + chalk "^2.0.0" + esutils "^2.0.2" + js-tokens "^3.0.0" + "@types/cheerio@*": version "0.22.4" resolved "https://registry.yarnpkg.com/@types/cheerio/-/cheerio-0.22.4.tgz#0c8d546ef43c249070223cf8bf9cbac29ac0e64e" @@ -28,9 +36,9 @@ version "1.0.7" resolved "https://registry.yarnpkg.com/@types/d3-time/-/d3-time-1.0.7.tgz#4266d7c9be15fa81256a88d1d052d61cd8dc572c" -"@types/enzyme@3.1.5": - version "3.1.5" - resolved "https://registry.yarnpkg.com/@types/enzyme/-/enzyme-3.1.5.tgz#6cc31d7f7e552209e244a45d89279f4def4aaade" +"@types/enzyme@3.1.6": + version "3.1.6" + resolved "https://registry.yarnpkg.com/@types/enzyme/-/enzyme-3.1.6.tgz#5b6fd8c5d23d2e1d06eca528b54df81c3ee4cbbf" dependencies: "@types/cheerio" "*" "@types/react" "*" @@ -43,9 +51,9 @@ version "3.2.2" resolved "https://registry.yarnpkg.com/@types/history/-/history-3.2.2.tgz#b6affa240cb10b5f841c6443d8a24d7f3fc8bb0c" -"@types/jest@21.1.8": - version "21.1.8" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-21.1.8.tgz#d497213725684f1e5a37900b17a47c9c018f1a97" +"@types/jest@22.0.1": + version "22.0.1" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-22.0.1.tgz#6370a6d60cce3845e4cd5d00bf65f654264685bc" "@types/jquery@3.2.11": version "3.2.11" @@ -135,11 +143,11 @@ acorn-dynamic-import@^2.0.0: dependencies: acorn "^4.0.3" -acorn-globals@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-3.1.0.tgz#fd8270f71fbb4996b004fa880ee5d46573a731bf" +acorn-globals@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-4.1.0.tgz#ab716025dbe17c54d3ef81d32ece2b2d99fe2538" dependencies: - acorn "^4.0.4" + acorn "^5.0.0" acorn-jsx@^3.0.0: version "3.0.1" @@ -151,7 +159,7 @@ acorn@^3.0.4: version "3.3.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" -acorn@^4.0.3, acorn@^4.0.4: +acorn@^4.0.3: version "4.0.13" resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" @@ -159,6 +167,10 @@ acorn@^5.0.0, acorn@^5.1.1: version "5.2.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.2.1.tgz#317ac7821826c22c702d66189ab8359675f135d7" +acorn@^5.1.2: + version "5.3.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.3.0.tgz#7446d39459c54fb49a80e6ee6478149b940ec822" + add-dom-event-listener@1.x: version "1.0.2" resolved "https://registry.yarnpkg.com/add-dom-event-listener/-/add-dom-event-listener-1.0.2.tgz#8faed2c41008721cf111da1d30d995b85be42bed" @@ -645,12 +657,12 @@ babel-helpers@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-jest@21.2.0, babel-jest@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-21.2.0.tgz#2ce059519a9374a2c46f2455b6fbef5ad75d863e" +babel-jest@22.0.6, babel-jest@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-22.0.6.tgz#807a2a5f5fad7789c57174a955cd14b11045299f" dependencies: - babel-plugin-istanbul "^4.0.0" - babel-preset-jest "^21.2.0" + babel-plugin-istanbul "^4.1.5" + babel-preset-jest "^22.0.6" babel-loader@7.1.2: version "7.1.2" @@ -680,7 +692,7 @@ babel-plugin-dynamic-import-node@1.1.0: babel-template "^6.26.0" babel-types "^6.26.0" -babel-plugin-istanbul@^4.0.0, babel-plugin-istanbul@^4.1.4: +babel-plugin-istanbul@^4.1.4, babel-plugin-istanbul@^4.1.5: version "4.1.5" resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.5.tgz#6760cdd977f411d3e175bb064f2bc327d99b2b6e" dependencies: @@ -688,9 +700,9 @@ babel-plugin-istanbul@^4.0.0, babel-plugin-istanbul@^4.1.4: istanbul-lib-instrument "^1.7.5" test-exclude "^4.1.1" -babel-plugin-jest-hoist@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-21.2.0.tgz#2cef637259bd4b628a6cace039de5fcd14dbb006" +babel-plugin-jest-hoist@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-22.0.6.tgz#551269ded350a15d6585da35d16d449df30d66c4" babel-plugin-syntax-async-functions@^6.8.0: version "6.13.0" @@ -1027,11 +1039,11 @@ babel-preset-flow@^6.23.0: dependencies: babel-plugin-transform-flow-strip-types "^6.22.0" -babel-preset-jest@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-21.2.0.tgz#ff9d2bce08abd98e8a36d9a8a5189b9173b85638" +babel-preset-jest@^22.0.1, babel-preset-jest@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-22.0.6.tgz#d13202533db9495c98663044d9f51b273d3984c8" dependencies: - babel-plugin-jest-hoist "^21.2.0" + babel-plugin-jest-hoist "^22.0.6" babel-plugin-syntax-object-rest-spread "^6.13.0" babel-preset-react@^6.22.0: @@ -1064,7 +1076,7 @@ babel-runtime@6.23.0: core-js "^2.4.0" regenerator-runtime "^0.10.0" -babel-runtime@6.x, babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0: +babel-runtime@6.x, babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.23.0, babel-runtime@^6.26.0, babel-runtime@^6.9.2: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" dependencies: @@ -1276,6 +1288,10 @@ brorand@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" +browser-process-hrtime@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-0.1.2.tgz#425d68a58d3447f02a04aa894187fce8af8b7b8e" + browser-resolve@^1.11.2: version "1.11.2" resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.2.tgz#8ff09b0a2c421718a1051c260b32e48f442938ce" @@ -1814,6 +1830,22 @@ cosmiconfig@^2.1.0, cosmiconfig@^2.1.1: parse-json "^2.2.0" require-from-string "^1.1.0" +cpx@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/cpx/-/cpx-1.5.0.tgz#185be018511d87270dedccc293171e37655ab88f" + dependencies: + babel-runtime "^6.9.2" + chokidar "^1.6.0" + duplexer "^0.1.1" + glob "^7.0.5" + glob2base "^0.0.12" + minimatch "^3.0.2" + mkdirp "^0.5.1" + resolve "^1.1.7" + safe-buffer "^5.0.1" + shell-quote "^1.6.1" + subarg "^1.0.0" + create-ecdh@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.0.tgz#888c723596cdf7612f6498233eebd7a35301737d" @@ -2210,6 +2242,10 @@ detect-indent@^4.0.0: dependencies: repeating "^2.0.0" +detect-newline@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2" + detect-node@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.3.tgz#a2033c09cc8e158d37748fbde7507832bd6ce127" @@ -2301,6 +2337,10 @@ domelementtype@~1.1.1: version "1.1.3" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b" +domexception@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/domexception/-/domexception-1.0.0.tgz#81fe5df81b3f057052cde3a9fa9bf536a85b9ab0" + domhandler@2.1: version "2.1.0" resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.1.0.tgz#d2646f5e57f6c3bab11cf6cb05d3c0acf7412594" @@ -2411,24 +2451,25 @@ entities@^1.1.1, entities@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0" -enzyme-adapter-react-16@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.1.0.tgz#86c5db7c10f0be6ec25d54ca41b59f2abb397cf4" +enzyme-adapter-react-16@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.1.1.tgz#a8f4278b47e082fbca14f5bfb1ee50ee650717b4" dependencies: - enzyme-adapter-utils "^1.1.0" + enzyme-adapter-utils "^1.3.0" lodash "^4.17.4" object.assign "^4.0.4" object.values "^1.0.4" - prop-types "^15.5.10" + prop-types "^15.6.0" + react-reconciler "^0.7.0" react-test-renderer "^16.0.0-0" -enzyme-adapter-utils@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.2.0.tgz#7f4471ee0a70b91169ec8860d2bf0a6b551664b2" +enzyme-adapter-utils@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.3.0.tgz#d6c85756826c257a8544d362cc7a67e97ea698c7" dependencies: lodash "^4.17.4" object.assign "^4.0.4" - prop-types "^15.5.10" + prop-types "^15.6.0" enzyme-to-json@3.3.0: version "3.3.0" @@ -2436,23 +2477,28 @@ enzyme-to-json@3.3.0: dependencies: lodash "^4.17.4" -enzyme@3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.2.0.tgz#998bdcda0fc71b8764a0017f7cc692c943f54a7a" +enzyme@3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.3.0.tgz#0971abd167f2d4bf3f5bd508229e1c4b6dc50479" dependencies: cheerio "^1.0.0-rc.2" function.prototype.name "^1.0.3" has "^1.0.1" + is-boolean-object "^1.0.0" + is-callable "^1.1.3" + is-number-object "^1.0.3" + is-string "^1.0.4" is-subset "^0.1.1" lodash "^4.17.4" + object-inspect "^1.5.0" object-is "^1.0.1" - object.assign "^4.0.4" + object.assign "^4.1.0" object.entries "^1.0.4" object.values "^1.0.4" raf "^3.4.0" rst-selector-parser "^2.2.3" -errno@^0.1.3, errno@^0.1.4: +errno@^0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" dependencies: @@ -2464,6 +2510,16 @@ error-ex@^1.2.0: dependencies: is-arrayish "^0.2.1" +es-abstract@^1.5.1: + version "1.10.0" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864" + dependencies: + es-to-primitive "^1.1.1" + function-bind "^1.1.1" + has "^1.0.1" + is-callable "^1.1.3" + is-regex "^1.0.4" + es-abstract@^1.6.1, es-abstract@^1.7.0: version "1.9.0" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.9.0.tgz#690829a07cae36b222e7fd9b75c0d0573eb25227" @@ -2542,7 +2598,7 @@ escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1 version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" -escodegen@^1.6.1: +escodegen@^1.9.0: version "1.9.0" resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.9.0.tgz#9811a2f265dc1cd3894420ee3717064b632b8852" dependencies: @@ -2805,16 +2861,16 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2: dependencies: homedir-polyfill "^1.0.1" -expect@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/expect/-/expect-21.2.1.tgz#003ac2ac7005c3c29e73b38a272d4afadd6d1d7b" +expect@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/expect/-/expect-22.0.6.tgz#69e1761ecb5ba354513e546e6187beda79e18078" dependencies: ansi-styles "^3.2.0" - jest-diff "^21.2.1" - jest-get-type "^21.2.0" - jest-matcher-utils "^21.2.1" - jest-message-util "^21.2.1" - jest-regex-util "^21.2.0" + jest-diff "^22.0.6" + jest-get-type "^22.0.6" + jest-matcher-utils "^22.0.6" + jest-message-util "^22.0.6" + jest-regex-util "^22.0.6" expose-loader@0.7.3: version "0.7.3" @@ -3029,6 +3085,10 @@ find-cache-dir@^1.0.0: make-dir "^1.0.0" pkg-dir "^2.0.0" +find-index@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/find-index/-/find-index-0.1.1.tgz#675d358b2ca3892d795a1ab47232f8b6e2e0dde4" + find-up@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" @@ -3117,9 +3177,9 @@ fs-extra@0.30.0: path-is-absolute "^1.0.0" rimraf "^2.2.8" -fs-extra@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.2.tgz#f91704c53d1b461f893452b0c307d9997647ab6b" +fs-extra@4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" dependencies: graceful-fs "^4.1.2" jsonfile "^4.0.0" @@ -3221,6 +3281,12 @@ glob-parent@^2.0.0: dependencies: is-glob "^2.0.0" +glob2base@^0.0.12: + version "0.0.12" + resolved "https://registry.yarnpkg.com/glob2base/-/glob2base-0.0.12.tgz#9d419b3e28f12e83a362164a277055922c9c0d56" + dependencies: + find-index "^0.1.1" + glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2: version "7.1.2" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" @@ -3362,6 +3428,10 @@ has-flag@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" +has-symbols@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44" + has-unicode@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" @@ -3787,6 +3857,10 @@ is-binary-path@^1.0.0: dependencies: binary-extensions "^1.0.0" +is-boolean-object@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.0.0.tgz#98f8b28030684219a95f375cfbd88ce3405dff93" + is-buffer@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" @@ -3875,6 +3949,10 @@ is-fullwidth-code-point@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" +is-generator-fn@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-1.0.0.tgz#969d49e1bb3329f6bb7f09089be26578b2ddd46a" + is-glob@^2.0.0, is-glob@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" @@ -3893,6 +3971,10 @@ is-glob@^4.0.0: dependencies: is-extglob "^2.1.1" +is-number-object@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.3.tgz#f265ab89a9f445034ef6aff15a8f00b00f551799" + is-number@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" @@ -3977,6 +4059,10 @@ is-stream@^1.0.1, is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" +is-string@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.4.tgz#cc3a9b69857d621e963725a24caeec873b826e64" + is-subset@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6" @@ -4040,7 +4126,7 @@ isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" -istanbul-api@^1.1.1: +istanbul-api@^1.1.14: version "1.2.1" resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.2.1.tgz#0c60a0515eb11c7d65c6b50bba2c6e999acd8620" dependencies: @@ -4056,7 +4142,7 @@ istanbul-api@^1.1.1: mkdirp "^0.5.1" once "^1.4.0" -istanbul-lib-coverage@^1.0.1, istanbul-lib-coverage@^1.1.1: +istanbul-lib-coverage@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.1.tgz#73bfb998885299415c93d38a3e9adf784a77a9da" @@ -4066,7 +4152,7 @@ istanbul-lib-hook@^1.1.0: dependencies: append-transform "^0.4.0" -istanbul-lib-instrument@^1.4.2, istanbul-lib-instrument@^1.7.5, istanbul-lib-instrument@^1.9.1: +istanbul-lib-instrument@^1.7.5, istanbul-lib-instrument@^1.8.0, istanbul-lib-instrument@^1.9.1: version "1.9.1" resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.9.1.tgz#250b30b3531e5d3251299fdd64b0b2c9db6b558e" dependencies: @@ -4087,7 +4173,7 @@ istanbul-lib-report@^1.1.2: path-parse "^1.0.5" supports-color "^3.1.2" -istanbul-lib-source-maps@^1.1.0, istanbul-lib-source-maps@^1.2.2: +istanbul-lib-source-maps@^1.2.1, istanbul-lib-source-maps@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.2.tgz#750578602435f28a0c04ee6d7d9e0f2960e62c1c" dependencies: @@ -4103,217 +4189,236 @@ istanbul-reports@^1.1.3: dependencies: handlebars "^4.0.3" -jest-changed-files@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-21.2.0.tgz#5dbeecad42f5d88b482334902ce1cba6d9798d29" +jest-changed-files@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-22.0.6.tgz#fca38cf4c89920c66aad1707e91d25bbea238875" dependencies: throat "^4.0.0" -jest-cli@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-21.2.1.tgz#9c528b6629d651911138d228bdb033c157ec8c00" +jest-cli@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-22.0.6.tgz#a2f1e5e094c42b29d22815463ae57f4d07e292ac" dependencies: ansi-escapes "^3.0.0" chalk "^2.0.1" glob "^7.1.2" graceful-fs "^4.1.11" is-ci "^1.0.10" - istanbul-api "^1.1.1" - istanbul-lib-coverage "^1.0.1" - istanbul-lib-instrument "^1.4.2" - istanbul-lib-source-maps "^1.1.0" - jest-changed-files "^21.2.0" - jest-config "^21.2.1" - jest-environment-jsdom "^21.2.1" - jest-haste-map "^21.2.0" - jest-message-util "^21.2.1" - jest-regex-util "^21.2.0" - jest-resolve-dependencies "^21.2.0" - jest-runner "^21.2.1" - jest-runtime "^21.2.1" - jest-snapshot "^21.2.1" - jest-util "^21.2.1" + istanbul-api "^1.1.14" + istanbul-lib-coverage "^1.1.1" + istanbul-lib-instrument "^1.8.0" + istanbul-lib-source-maps "^1.2.1" + jest-changed-files "^22.0.6" + jest-config "^22.0.6" + jest-environment-jsdom "^22.0.6" + jest-get-type "^22.0.6" + jest-haste-map "^22.0.6" + jest-message-util "^22.0.6" + jest-regex-util "^22.0.6" + jest-resolve-dependencies "^22.0.6" + jest-runner "^22.0.6" + jest-runtime "^22.0.6" + jest-snapshot "^22.0.6" + jest-util "^22.0.6" + jest-worker "^22.0.6" micromatch "^2.3.11" - node-notifier "^5.0.2" - pify "^3.0.0" + node-notifier "^5.1.2" + realpath-native "^1.0.0" + rimraf "^2.5.4" slash "^1.0.0" string-length "^2.0.0" strip-ansi "^4.0.0" which "^1.2.12" - worker-farm "^1.3.1" - yargs "^9.0.0" + yargs "^10.0.3" -jest-config@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-21.2.1.tgz#c7586c79ead0bcc1f38c401e55f964f13bf2a480" +jest-config@^22.0.1, jest-config@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-22.0.6.tgz#8af116784df189b98ed6fd6c307bce4181f7f012" dependencies: chalk "^2.0.1" glob "^7.1.1" - jest-environment-jsdom "^21.2.1" - jest-environment-node "^21.2.1" - jest-get-type "^21.2.0" - jest-jasmine2 "^21.2.1" - jest-regex-util "^21.2.0" - jest-resolve "^21.2.0" - jest-util "^21.2.1" - jest-validate "^21.2.1" - pretty-format "^21.2.1" - -jest-diff@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-21.2.1.tgz#46cccb6cab2d02ce98bc314011764bb95b065b4f" + jest-environment-jsdom "^22.0.6" + jest-environment-node "^22.0.6" + jest-get-type "^22.0.6" + jest-jasmine2 "^22.0.6" + jest-regex-util "^22.0.6" + jest-resolve "^22.0.6" + jest-util "^22.0.6" + jest-validate "^22.0.6" + pretty-format "^22.0.6" + +jest-diff@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-22.0.6.tgz#38c07187324564ecf6389a980a2f0e86e7e79890" dependencies: chalk "^2.0.1" diff "^3.2.0" - jest-get-type "^21.2.0" - pretty-format "^21.2.1" + jest-get-type "^22.0.6" + pretty-format "^22.0.6" -jest-docblock@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.2.0.tgz#51529c3b30d5fd159da60c27ceedc195faf8d414" +jest-docblock@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-22.0.6.tgz#f187fb2c67eec0999e569d563092125283084f9e" + dependencies: + detect-newline "^2.1.0" -jest-environment-jsdom@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-21.2.1.tgz#38d9980c8259b2a608ec232deee6289a60d9d5b4" +jest-environment-jsdom@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-22.0.6.tgz#243f3fa7167a1f293410aec8d3eb12ab8de4f748" dependencies: - jest-mock "^21.2.0" - jest-util "^21.2.1" - jsdom "^9.12.0" + jest-mock "^22.0.6" + jest-util "^22.0.6" + jsdom "^11.5.1" -jest-environment-node@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-21.2.1.tgz#98c67df5663c7fbe20f6e792ac2272c740d3b8c8" +jest-environment-node@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-22.0.6.tgz#4f34ac4c0591297aceefa6a93421360bd56e5a74" dependencies: - jest-mock "^21.2.0" - jest-util "^21.2.1" + jest-mock "^22.0.6" + jest-util "^22.0.6" jest-get-type@^21.2.0: version "21.2.0" resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-21.2.0.tgz#f6376ab9db4b60d81e39f30749c6c466f40d4a23" -jest-haste-map@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-21.2.0.tgz#1363f0a8bb4338f24f001806571eff7a4b2ff3d8" +jest-get-type@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.0.6.tgz#301fbc0760779fdbad37b6e3239a3c1811aa75cb" + +jest-haste-map@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-22.0.6.tgz#198d665f65e1c484fef106a3c970c5b47903647e" dependencies: fb-watchman "^2.0.0" graceful-fs "^4.1.11" - jest-docblock "^21.2.0" + jest-docblock "^22.0.6" + jest-worker "^22.0.6" micromatch "^2.3.11" sane "^2.0.0" - worker-farm "^1.3.1" -jest-jasmine2@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-21.2.1.tgz#9cc6fc108accfa97efebce10c4308548a4ea7592" +jest-jasmine2@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-22.0.6.tgz#db9eae709978a8d67a52f7b90d74cab7301107f5" dependencies: + callsites "^2.0.0" chalk "^2.0.1" - expect "^21.2.1" + co "^4.6.0" + expect "^22.0.6" graceful-fs "^4.1.11" - jest-diff "^21.2.1" - jest-matcher-utils "^21.2.1" - jest-message-util "^21.2.1" - jest-snapshot "^21.2.1" - p-cancelable "^0.3.0" + is-generator-fn "^1.0.0" + jest-diff "^22.0.6" + jest-matcher-utils "^22.0.6" + jest-message-util "^22.0.6" + jest-snapshot "^22.0.6" + source-map-support "^0.5.0" -jest-matcher-utils@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-21.2.1.tgz#72c826eaba41a093ac2b4565f865eb8475de0f64" +jest-leak-detector@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-22.0.6.tgz#e983e6fca0959f095cd5b39df2a9a8c956f45988" + dependencies: + pretty-format "^22.0.6" + +jest-matcher-utils@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-22.0.6.tgz#55675242b2af1de913f44e00aa4d68a38d349b07" dependencies: chalk "^2.0.1" - jest-get-type "^21.2.0" - pretty-format "^21.2.1" + jest-get-type "^22.0.6" + pretty-format "^22.0.6" -jest-message-util@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-21.2.1.tgz#bfe5d4692c84c827d1dcf41823795558f0a1acbe" +jest-message-util@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-22.0.6.tgz#2b30edce5131a9358f529ad66ff84835ba4ed457" dependencies: + "@babel/code-frame" "^7.0.0-beta.35" chalk "^2.0.1" micromatch "^2.3.11" slash "^1.0.0" + stack-utils "^1.0.1" -jest-mock@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-21.2.0.tgz#7eb0770e7317968165f61ea2a7281131534b3c0f" +jest-mock@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-22.0.6.tgz#0d1f51ec2bf1e72cd58e79cb76f587e6397306ec" -jest-regex-util@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-21.2.0.tgz#1b1e33e63143babc3e0f2e6c9b5ba1eb34b2d530" +jest-regex-util@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-22.0.6.tgz#cd01d33c5993340f5d61be09b270773787a41d88" -jest-resolve-dependencies@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-21.2.0.tgz#9e231e371e1a736a1ad4e4b9a843bc72bfe03d09" +jest-resolve-dependencies@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-22.0.6.tgz#dd976f0a9c2874d32edf4876b0a965cef48d479b" dependencies: - jest-regex-util "^21.2.0" + jest-regex-util "^22.0.6" -jest-resolve@^21.2.0: - version "21.2.0" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-21.2.0.tgz#068913ad2ba6a20218e5fd32471f3874005de3a6" +jest-resolve@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-22.0.6.tgz#29d7aa425adb9aae7aa5ae157483dffba724e52b" dependencies: browser-resolve "^1.11.2" chalk "^2.0.1" - is-builtin-module "^1.0.0" -jest-runner@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-21.2.1.tgz#194732e3e518bfb3d7cbfc0fd5871246c7e1a467" - dependencies: - jest-config "^21.2.1" - jest-docblock "^21.2.0" - jest-haste-map "^21.2.0" - jest-jasmine2 "^21.2.1" - jest-message-util "^21.2.1" - jest-runtime "^21.2.1" - jest-util "^21.2.1" - pify "^3.0.0" +jest-runner@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-22.0.6.tgz#1986ee82b7968d21f04c402e5b67e3da71496f19" + dependencies: + jest-config "^22.0.6" + jest-docblock "^22.0.6" + jest-haste-map "^22.0.6" + jest-jasmine2 "^22.0.6" + jest-leak-detector "^22.0.6" + jest-message-util "^22.0.6" + jest-runtime "^22.0.6" + jest-util "^22.0.6" + jest-worker "^22.0.6" throat "^4.0.0" - worker-farm "^1.3.1" -jest-runtime@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-21.2.1.tgz#99dce15309c670442eee2ebe1ff53a3cbdbbb73e" +jest-runtime@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-22.0.6.tgz#827c35e706adfc22e685de733ba3ab78cda72bfc" dependencies: babel-core "^6.0.0" - babel-jest "^21.2.0" - babel-plugin-istanbul "^4.0.0" + babel-jest "^22.0.6" + babel-plugin-istanbul "^4.1.5" chalk "^2.0.1" convert-source-map "^1.4.0" graceful-fs "^4.1.11" - jest-config "^21.2.1" - jest-haste-map "^21.2.0" - jest-regex-util "^21.2.0" - jest-resolve "^21.2.0" - jest-util "^21.2.1" + jest-config "^22.0.6" + jest-haste-map "^22.0.6" + jest-regex-util "^22.0.6" + jest-resolve "^22.0.6" + jest-util "^22.0.6" json-stable-stringify "^1.0.1" micromatch "^2.3.11" + realpath-native "^1.0.0" slash "^1.0.0" strip-bom "3.0.0" write-file-atomic "^2.1.0" - yargs "^9.0.0" + yargs "^10.0.3" -jest-snapshot@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-21.2.1.tgz#29e49f16202416e47343e757e5eff948c07fd7b0" +jest-snapshot@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-22.0.6.tgz#30c1f85b6f050891c4a2060d807a3d65a594591c" dependencies: chalk "^2.0.1" - jest-diff "^21.2.1" - jest-matcher-utils "^21.2.1" + jest-diff "^22.0.6" + jest-matcher-utils "^22.0.6" mkdirp "^0.5.1" natural-compare "^1.4.0" - pretty-format "^21.2.1" + pretty-format "^22.0.6" -jest-util@^21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-21.2.1.tgz#a274b2f726b0897494d694a6c3d6a61ab819bb78" +jest-util@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-22.0.6.tgz#539b3f21f4e2e458bb38719aa0e417109fe31657" dependencies: callsites "^2.0.0" chalk "^2.0.1" graceful-fs "^4.1.11" - jest-message-util "^21.2.1" - jest-mock "^21.2.0" - jest-validate "^21.2.1" + is-ci "^1.0.10" + jest-message-util "^22.0.6" + jest-validate "^22.0.6" mkdirp "^0.5.1" -jest-validate@^21.1.0, jest-validate@^21.2.1: +jest-validate@^21.1.0: version "21.2.1" resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-21.2.1.tgz#cc0cbca653cd54937ba4f2a111796774530dd3c7" dependencies: @@ -4322,11 +4427,26 @@ jest-validate@^21.1.0, jest-validate@^21.2.1: leven "^2.1.0" pretty-format "^21.2.1" -jest@21.2.1: - version "21.2.1" - resolved "https://registry.yarnpkg.com/jest/-/jest-21.2.1.tgz#c964e0b47383768a1438e3ccf3c3d470327604e1" +jest-validate@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-22.0.6.tgz#48c6972f154fa4abe20d0686a9b819d142740167" + dependencies: + chalk "^2.0.1" + jest-get-type "^22.0.6" + leven "^2.1.0" + pretty-format "^22.0.6" + +jest-worker@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-22.0.6.tgz#1998ac7ab24a6eee4deddec76efe7742f2651504" dependencies: - jest-cli "^21.2.1" + merge-stream "^1.0.1" + +jest@22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/jest/-/jest-22.0.6.tgz#0d0d3bdc402c43cf5a3eae58a55cff6da8b6820f" + dependencies: + jest-cli "^22.0.6" jquery@2.2.0: version "2.2.0" @@ -4362,28 +4482,33 @@ jschardet@^1.4.2: version "1.6.0" resolved "https://registry.yarnpkg.com/jschardet/-/jschardet-1.6.0.tgz#c7d1a71edcff2839db2f9ec30fc5d5ebd3c1a678" -jsdom@^9.12.0: - version "9.12.0" - resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-9.12.0.tgz#e8c546fffcb06c00d4833ca84410fed7f8a097d4" +jsdom@^11.5.1: + version "11.5.1" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-11.5.1.tgz#5df753b8d0bca20142ce21f4f6c039f99a992929" dependencies: abab "^1.0.3" - acorn "^4.0.4" - acorn-globals "^3.1.0" + acorn "^5.1.2" + acorn-globals "^4.0.0" array-equal "^1.0.0" + browser-process-hrtime "^0.1.2" content-type-parser "^1.0.1" cssom ">= 0.3.2 < 0.4.0" cssstyle ">= 0.2.37 < 0.3.0" - escodegen "^1.6.1" + domexception "^1.0.0" + escodegen "^1.9.0" html-encoding-sniffer "^1.0.1" - nwmatcher ">= 1.3.9 < 2.0.0" - parse5 "^1.5.1" - request "^2.79.0" + left-pad "^1.2.0" + nwmatcher "^1.4.3" + parse5 "^3.0.2" + pn "^1.0.0" + request "^2.83.0" + request-promise-native "^1.0.3" sax "^1.2.1" symbol-tree "^3.2.1" - tough-cookie "^2.3.2" - webidl-conversions "^4.0.0" + tough-cookie "^2.3.3" + webidl-conversions "^4.0.2" whatwg-encoding "^1.0.1" - whatwg-url "^4.3.0" + whatwg-url "^6.3.0" xml-name-validator "^2.0.1" jsesc@^1.3.0: @@ -4505,6 +4630,10 @@ lcid@^1.0.0: dependencies: invert-kv "^1.0.0" +left-pad@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.2.0.tgz#d30a73c6b8201d8f7d8e7956ba9616087a68e0ee" + leven@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580" @@ -4678,6 +4807,10 @@ lodash.memoize@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" +lodash.sortby@^4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" + lodash.unescape@4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" @@ -4686,7 +4819,7 @@ lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" -lodash@4.17.4, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0: +lodash@4.17.4, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.15.0, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" @@ -4818,6 +4951,12 @@ merge-descriptors@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" +merge-stream@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-1.0.1.tgz#4041202d508a342ba00174008df0c251b8c135e1" + dependencies: + readable-stream "^2.0.1" + merge@^1.1.3: version "1.2.0" resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.0.tgz#7531e39d4949c281a66b8c5a6e0265e8b05894da" @@ -4915,7 +5054,7 @@ minimist@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" -minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0: +minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" @@ -5046,7 +5185,7 @@ node-libs-browser@^2.0.0: util "^0.10.3" vm-browserify "0.0.4" -node-notifier@^5.0.2: +node-notifier@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.1.2.tgz#2fa9e12605fa10009d44549d6fcd8a63dde0e4ff" dependencies: @@ -5155,7 +5294,7 @@ number-is-nan@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" -"nwmatcher@>= 1.3.9 < 2.0.0": +nwmatcher@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.3.tgz#64348e3b3d80f035b40ac11563d278f8b72db89c" @@ -5175,11 +5314,15 @@ object-copy@^0.1.0: define-property "^0.2.5" kind-of "^3.0.3" +object-inspect@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.5.0.tgz#9d876c11e40f485c79215670281b767488f9bfe3" + object-is@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.0.1.tgz#0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6" -object-keys@^1.0.10, object-keys@^1.0.8: +object-keys@^1.0.10, object-keys@^1.0.11, object-keys@^1.0.8: version "1.0.11" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" @@ -5197,6 +5340,15 @@ object.assign@^4.0.4: function-bind "^1.1.0" object-keys "^1.0.10" +object.assign@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da" + dependencies: + define-properties "^1.1.2" + function-bind "^1.1.1" + has-symbols "^1.0.0" + object-keys "^1.0.11" + object.entries@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.0.4.tgz#1bf9a4dd2288f5b33f3a993d257661f05d161a5f" @@ -5206,6 +5358,13 @@ object.entries@^1.0.4: function-bind "^1.1.0" has "^1.0.1" +object.getownpropertydescriptors@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16" + dependencies: + define-properties "^1.1.2" + es-abstract "^1.5.1" + object.omit@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" @@ -5340,10 +5499,6 @@ osenv@^0.1.4: os-homedir "^1.0.0" os-tmpdir "^1.0.0" -p-cancelable@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-0.3.0.tgz#b9e123800bcebb7ac13a479be195b507b98d30fa" - p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" @@ -5401,16 +5556,18 @@ parse-passwd@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" -parse5@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94" - parse5@^3.0.1: version "3.0.2" resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.2.tgz#05eff57f0ef4577fb144a79f8b9a967a6cc44510" dependencies: "@types/node" "^6.0.46" +parse5@^3.0.2: + version "3.0.3" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.3.tgz#042f792ffdd36851551cf4e9e066b3874ab45b5c" + dependencies: + "@types/node" "*" + parseurl@~1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" @@ -5519,6 +5676,10 @@ pluralize@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777" +pn@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb" + portfinder@^1.0.9: version "1.0.13" resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.13.tgz#bb32ecd87c27104ae6ee44b5a3ccbf0ebb1aede9" @@ -5855,6 +6016,13 @@ pretty-format@^21.2.1: ansi-regex "^3.0.0" ansi-styles "^3.2.0" +pretty-format@^22.0.6: + version "22.0.6" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-22.0.6.tgz#bbb78e38445f263c2d3b9e281f4b844380990720" + dependencies: + ansi-regex "^3.0.0" + ansi-styles "^3.2.0" + private@^0.1.6, private@^0.1.7: version "0.1.8" resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" @@ -5918,6 +6086,10 @@ punycode@^1.2.4, punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" +punycode@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.0.tgz#5f863edc89b96db09074bad7947bf09056ca4e7d" + q@^1.1.2: version "1.5.1" resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" @@ -6132,6 +6304,15 @@ react-modal@3.0.4: exenv "^1.2.0" prop-types "^15.5.10" +react-reconciler@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/react-reconciler/-/react-reconciler-0.7.0.tgz#9614894103e5f138deeeb5eabaf3ee80eb1d026d" + dependencies: + fbjs "^0.8.16" + loose-envify "^1.1.0" + object-assign "^4.1.1" + prop-types "^15.6.0" + react-redux@5.0.6: version "5.0.6" resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-5.0.6.tgz#23ed3a4f986359d68b5212eaaa681e60d6574946" @@ -6257,6 +6438,12 @@ readdirp@^2.0.0: readable-stream "^2.0.2" set-immediate-shim "^1.0.1" +realpath-native@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/realpath-native/-/realpath-native-1.0.0.tgz#7885721a83b43bd5327609f0ddecb2482305fdf0" + dependencies: + util.promisify "^1.0.0" + recursive-readdir@2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/recursive-readdir/-/recursive-readdir-2.2.1.tgz#90ef231d0778c5ce093c9a48d74e5c5422d13a99" @@ -6400,6 +6587,20 @@ repeating@^2.0.0: dependencies: is-finite "^1.0.0" +request-promise-core@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.1.tgz#3eee00b2c5aa83239cfb04c5700da36f81cd08b6" + dependencies: + lodash "^4.13.1" + +request-promise-native@^1.0.3: + version "1.0.5" + resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.5.tgz#5281770f68e0c9719e5163fd3fab482215f4fda5" + dependencies: + request-promise-core "1.1.1" + stealthy-require "^1.1.0" + tough-cookie ">=2.3.3" + request@2.81.0: version "2.81.0" resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" @@ -6427,7 +6628,7 @@ request@2.81.0: tunnel-agent "^0.6.0" uuid "^3.0.0" -request@^2.79.0: +request@^2.83.0: version "2.83.0" resolved "https://registry.yarnpkg.com/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356" dependencies: @@ -6506,7 +6707,7 @@ resolve@1.1.7: version "1.1.7" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" -resolve@^1.2.0: +resolve@^1.1.7, resolve@^1.2.0: version "1.5.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36" dependencies: @@ -6536,7 +6737,7 @@ right-align@^0.1.1: dependencies: align-text "^0.1.1" -rimraf@2, rimraf@2.6.2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.6.1: +rimraf@2, rimraf@2.6.2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1: version "2.6.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" dependencies: @@ -6742,7 +6943,7 @@ shebang-regex@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" -shell-quote@1.6.1: +shell-quote@1.6.1, shell-quote@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.6.1.tgz#f4781949cce402697127430ea3b3c5476f481767" dependencies: @@ -6951,6 +7152,10 @@ sshpk@^1.7.0: jsbn "~0.1.0" tweetnacl "~0.14.0" +stack-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.1.tgz#d4f33ab54e8e38778b0ca5cfd3b3afb12db68620" + staged-git-files@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/staged-git-files/-/staged-git-files-0.0.4.tgz#d797e1b551ca7a639dec0237dc6eb4bb9be17d35" @@ -6970,6 +7175,10 @@ statuses@~1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e" +stealthy-require@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" + stream-browserify@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" @@ -7082,6 +7291,12 @@ style-loader@0.19.0: loader-utils "^1.0.2" schema-utils "^0.3.0" +subarg@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/subarg/-/subarg-1.0.0.tgz#f62cf17581e996b48fc965699f54c06ae268b8d2" + dependencies: + minimist "^1.1.0" + supports-color@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" @@ -7237,15 +7452,17 @@ toposort@^1.0.0: version "1.0.6" resolved "https://registry.yarnpkg.com/toposort/-/toposort-1.0.6.tgz#c31748e55d210effc00fdcdc7d6e68d7d7bb9cec" -tough-cookie@^2.3.2, tough-cookie@~2.3.0, tough-cookie@~2.3.3: +tough-cookie@>=2.3.3, tough-cookie@^2.3.3, tough-cookie@~2.3.0, tough-cookie@~2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561" dependencies: punycode "^1.4.1" -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" +tr46@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" + dependencies: + punycode "^2.1.0" trim-newlines@^1.0.0: version "1.0.0" @@ -7259,17 +7476,17 @@ tryit@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/tryit/-/tryit-1.0.3.tgz#393be730a9446fd1ead6da59a014308f36c289cb" -ts-jest@21.1.4: - version "21.1.4" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-21.1.4.tgz#6b720cd4ebfacbc935468e60dd395392f817095b" +ts-jest@22.0.1: + version "22.0.1" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-22.0.1.tgz#48942936a466c2e76e259b02e2f1356f1839afc3" dependencies: babel-core "^6.24.1" babel-plugin-istanbul "^4.1.4" babel-plugin-transform-es2015-modules-commonjs "^6.24.1" - babel-preset-jest "^21.2.0" - fs-extra "^4.0.0" - jest-config "^21.2.1" - jest-util "^21.2.1" + babel-preset-jest "^22.0.1" + cpx "^1.5.0" + fs-extra "4.0.3" + jest-config "^22.0.1" pkg-dir "^2.0.0" source-map-support "^0.5.0" yargs "^10.0.3" @@ -7451,6 +7668,13 @@ util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" +util.promisify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030" + dependencies: + define-properties "^1.1.2" + object.getownpropertydescriptors "^2.0.3" + util@0.10.3, util@^0.10.3: version "0.10.3" resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" @@ -7539,11 +7763,7 @@ wbuf@^1.1.0, wbuf@^1.7.2: dependencies: minimalistic-assert "^1.0.0" -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - -webidl-conversions@^4.0.0: +webidl-conversions@^4.0.1, webidl-conversions@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" @@ -7659,12 +7879,13 @@ whatwg-fetch@2.0.3, whatwg-fetch@>=0.10.0: version "2.0.3" resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz#9c84ec2dcf68187ff00bc64e1274b442176e1c84" -whatwg-url@^4.3.0: - version "4.8.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-4.8.0.tgz#d2981aa9148c1e00a41c5a6131166ab4683bbcc0" +whatwg-url@^6.3.0: + version "6.4.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-6.4.0.tgz#08fdf2b9e872783a7a1f6216260a1d66cc722e08" dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" + lodash.sortby "^4.7.0" + tr46 "^1.0.0" + webidl-conversions "^4.0.1" whet.extend@~0.9.9: version "0.9.9" @@ -7706,13 +7927,6 @@ wordwrap@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" -worker-farm@^1.3.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.5.1.tgz#8e9f4a7da4f3c595aa600903051b969390423fa1" - dependencies: - errno "^0.1.4" - xtend "^4.0.1" - wrap-ansi@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" @@ -7753,7 +7967,7 @@ xml-name-validator@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635" -xtend@^4.0.0, xtend@^4.0.1: +xtend@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" @@ -7836,24 +8050,6 @@ yargs@^8.0.2: y18n "^3.2.1" yargs-parser "^7.0.0" -yargs@^9.0.0: - version "9.0.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-9.0.1.tgz#52acc23feecac34042078ee78c0c007f5085db4c" - dependencies: - camelcase "^4.1.0" - cliui "^3.2.0" - decamelize "^1.1.1" - get-caller-file "^1.0.1" - os-locale "^2.0.0" - read-pkg-up "^2.0.0" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^2.0.0" - which-module "^2.0.0" - y18n "^3.2.1" - yargs-parser "^7.0.0" - yargs@~3.10.0: version "3.10.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" |