Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marjan-georgiev committed Nov 8, 2023
1 parent cac6c53 commit fd96063
Showing 1 changed file with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,29 @@ describe('<ngx-charts-sankey>', () => {
[animations]="false"
[view]="[400,800]"
[scheme]="colorScheme"
[results]="sankey">
[results]="[
{ source: 'United States Of America', target: 'Japan', value: 50 },
{ source: 'Germany', target: 'Japan', value: 80 },
{ source: 'Germany', target: 'South Korea', value: 25 },
{ source: 'France', target: 'South Korea', value: 30 },
{ source: 'France', target: 'Italy', value: 10 },
{ source: 'France', target: 'North Macedonia', value: 15 },
{ source: 'India', target: 'Japan', value: 10 },
{ source: 'Japan', target: 'UK', value: 60 },
{ source: 'Japan', target: 'UK', value: 10 },
{ source: 'Japan', target: 'Democratic Republic of São Tomé and Príncipe', value: 50 },
{ source: 'Japan', target: 'Republic of Equatorial Guinea', value: 20 },
{ source: 'South Korea', target: 'UK', value: 55 },
{ source: 'Italy', target: 'UK', value: 10 },
{ source: 'North Macedonia', target: 'Republic of Equatorial Guinea', value: 15 },
{ source: 'UK', target: 'Independent and the Sovereign Republic of Kiribati', value: 10 },
{ source: 'UK', target: 'Commonwealth of the Northern Mariana Islands', value: 60 },
{ source: 'UK', target: 'Bosnia and Herzegovina', value: 25 },
{ source: 'UK', target: 'Spain', value: 20 },
{ source: 'UK', target: 'Bosnia and Herzegovina', value: 20 },
{ source: 'Republic of Equatorial Guinea', target: 'Republic of Costa Rica', value: 30 },
{ source: 'Republic of Equatorial Guinea', target: 'Portugal', value: 5 }
]">
</ngx-charts-sankey>`
}
}).compileComponents();
Expand Down

0 comments on commit fd96063

Please sign in to comment.