diff options
author | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-04-27 09:07:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 09:07:29 +0200 |
commit | 73416c40dcdd5d199df5a1e4741167095650fd8b (patch) | |
tree | c5b32204bcde1376ebd3c0fae76a4dea0fadee9f /server/sonar-web/src/main/js/store | |
parent | 3e72937a66a0ca25d8cf2872f614b8edf179c2a8 (diff) | |
download | sonarqube-73416c40dcdd5d199df5a1e4741167095650fd8b.tar.gz sonarqube-73416c40dcdd5d199df5a1e4741167095650fd8b.zip |
upgrade jest (#1981)
Diffstat (limited to 'server/sonar-web/src/main/js/store')
6 files changed, 31 insertions, 19 deletions
diff --git a/server/sonar-web/src/main/js/store/organizations/__tests__/__snapshots__/duck-test.js.snap b/server/sonar-web/src/main/js/store/organizations/__tests__/__snapshots__/duck-test.js.snap index 1b9f5405edd..c5ad9b73625 100644 --- a/server/sonar-web/src/main/js/store/organizations/__tests__/__snapshots__/duck-test.js.snap +++ b/server/sonar-web/src/main/js/store/organizations/__tests__/__snapshots__/duck-test.js.snap @@ -1,3 +1,5 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + exports[`Reducer should have initial state 1`] = ` Object { "byKey": Object {}, diff --git a/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/analyses-test.js.snap b/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/analyses-test.js.snap index 4928990cf42..48c18d0c6e0 100644 --- a/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/analyses-test.js.snap +++ b/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/analyses-test.js.snap @@ -1,6 +1,8 @@ -exports[`test reducer 1`] = `Object {}`; +// Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test reducer 2`] = ` +exports[`reducer 1`] = `Object {}`; + +exports[`reducer 2`] = ` Object { "AVgAgC1Vdo07z3PUnnkt": Object { "date": "2016-10-26T12:17:29+0200", @@ -24,7 +26,7 @@ Object { } `; -exports[`test reducer 3`] = ` +exports[`reducer 3`] = ` Object { "AVgAgC1Vdo07z3PUnnkt": Object { "date": "2016-10-26T12:17:29+0200", @@ -49,7 +51,7 @@ Object { } `; -exports[`test reducer 4`] = ` +exports[`reducer 4`] = ` Object { "AVgAgC1Vdo07z3PUnnkt": Object { "date": "2016-10-26T12:17:29+0200", @@ -73,7 +75,7 @@ Object { } `; -exports[`test reducer 5`] = ` +exports[`reducer 5`] = ` Object { "AVgAgC1Vdo07z3PUnnkt": Object { "date": "2016-10-26T12:17:29+0200", diff --git a/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/analysesByProject-test.js.snap b/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/analysesByProject-test.js.snap index fd714d5bb72..335d2124946 100644 --- a/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/analysesByProject-test.js.snap +++ b/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/analysesByProject-test.js.snap @@ -1,6 +1,8 @@ -exports[`test reducer 1`] = `Object {}`; +// Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test reducer 2`] = ` +exports[`reducer 1`] = `Object {}`; + +exports[`reducer 2`] = ` Object { "project-foo": Array [ "AVgFqeOSKpGuA48ADATE", @@ -9,7 +11,7 @@ Object { } `; -exports[`test reducer 3`] = ` +exports[`reducer 3`] = ` Object { "project-foo": Array [ "AVgFqeOSKpGuA48ADATE", @@ -19,7 +21,7 @@ Object { } `; -exports[`test reducer 4`] = ` +exports[`reducer 4`] = ` Object { "project-bar": Array [ "AVgGkRvCrrTJiPpCD-rG", @@ -32,7 +34,7 @@ Object { } `; -exports[`test reducer 5`] = ` +exports[`reducer 5`] = ` Object { "project-bar": Array [ "AVgGkRvCrrTJiPpCD-rG", @@ -44,7 +46,7 @@ Object { } `; -exports[`test reducer 6`] = ` +exports[`reducer 6`] = ` Object { "project-bar": Array [], "project-foo": Array [ diff --git a/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/duck-test.js.snap b/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/duck-test.js.snap index c6005fe745e..8dcb0729436 100644 --- a/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/duck-test.js.snap +++ b/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/duck-test.js.snap @@ -1,3 +1,5 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + exports[`actions addEvent 1`] = ` Object { "analysis": "foo", diff --git a/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/events-test.js.snap b/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/events-test.js.snap index 8d015b56833..284a895a928 100644 --- a/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/events-test.js.snap +++ b/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/events-test.js.snap @@ -1,6 +1,8 @@ -exports[`test reducer 1`] = `Object {}`; +// Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test reducer 2`] = ` +exports[`reducer 1`] = `Object {}`; + +exports[`reducer 2`] = ` Object { "AVjUDBiSiXOcXjpycvde": Object { "category": "VERSION", @@ -15,7 +17,7 @@ Object { } `; -exports[`test reducer 3`] = ` +exports[`reducer 3`] = ` Object { "AVjUDBiSiXOcXjpycvde": Object { "category": "VERSION", @@ -35,7 +37,7 @@ Object { } `; -exports[`test reducer 4`] = ` +exports[`reducer 4`] = ` Object { "AVjUDBiSiXOcXjpycvde": Object { "category": "VERSION", @@ -55,7 +57,7 @@ Object { } `; -exports[`test reducer 5`] = ` +exports[`reducer 5`] = ` Object { "AVjUDBiSiXOcXjpycvde": Object { "category": "VERSION", diff --git a/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/paging-test.js.snap b/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/paging-test.js.snap index d35a2ad55be..8698272003a 100644 --- a/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/paging-test.js.snap +++ b/server/sonar-web/src/main/js/store/projectActivity/__tests__/__snapshots__/paging-test.js.snap @@ -1,6 +1,8 @@ -exports[`test reducer 1`] = `Object {}`; +// Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`test reducer 2`] = ` +exports[`reducer 1`] = `Object {}`; + +exports[`reducer 2`] = ` Object { "project-foo": Object { "pageIndex": 1, @@ -10,7 +12,7 @@ Object { } `; -exports[`test reducer 3`] = ` +exports[`reducer 3`] = ` Object { "project-foo": Object { "pageIndex": 2, |