aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/tests/apps/code/store-test.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/tests/apps/code/store-test.js')
-rw-r--r--server/sonar-web/tests/apps/code/store-test.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/server/sonar-web/tests/apps/code/store-test.js b/server/sonar-web/tests/apps/code/store-test.js
index de5ddbfadf1..155c84a8720 100644
--- a/server/sonar-web/tests/apps/code/store-test.js
+++ b/server/sonar-web/tests/apps/code/store-test.js
@@ -313,7 +313,7 @@ describe('Code :: Store', () => {
const breadcrumbsBefore = [{ key: 'A' }];
const bucketAfter = [
- { key: 'A', breadcrumbs: [{ key: 'A' }], children: [{ key: 'B' }] },
+ { key: 'A', breadcrumbs: [{ key: 'A' }], children: [{ key: 'B' }], total: 0 },
{ key: 'B', breadcrumbs: [{ key: 'A' }, { key: 'B' }] }
];
@@ -335,7 +335,8 @@ describe('Code :: Store', () => {
{
key: 'A',
breadcrumbs: [{ key: 'A' }],
- children: [{ key: 'B' }]
+ children: [{ key: 'B' }],
+ total: 0
},
{
key: 'B',
@@ -360,12 +361,14 @@ describe('Code :: Store', () => {
{
key: 'A',
breadcrumbs: [{ key: 'A' }],
- children: [{ key: 'B' }]
+ children: [{ key: 'B' }],
+ total: 0
},
{
key: 'B',
breadcrumbs: [{ key: 'A' }, { key: 'B' }],
- children: [{ key: 'C' }]
+ children: [{ key: 'C' }],
+ total: 0
},
{
key: 'C',