Skip to content

Commit

Permalink
EES-5541 ChartDataGroupingsConfiguration tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bennettstuart committed Nov 5, 2024
1 parent 97a31bf commit b6c2967
Showing 1 changed file with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,45 @@ describe('ChartDataGroupingsConfiguration', () => {
const { user } = render(
<ChartDataGroupingsConfiguration
meta={testTable.subjectMeta}
map={{
dataSetConfigs: [
{
dataSet: {
filters: ['ethnicity-major-chinese', 'state-funded-primary'],
indicator: 'authorised-absence-sessions',
timePeriod: '2014_AY',
},
dataGrouping: {
customGroups: [],
numberOfGroups: 5,
type: 'EqualIntervals',
},
},
{
dataSet: {
filters: ['ethnicity-major-chinese', 'state-funded-primary'],
indicator: 'authorised-absence-sessions',
timePeriod: '2015_AY',
},
dataGrouping: {
customGroups: [],
numberOfGroups: 2,
type: 'Quantiles',
},
},
{
dataSet: {
filters: ['ethnicity-major-chinese', 'state-funded-secondary'],
indicator: 'authorised-absence-sessions',
timePeriod: '2015_AY',
},
dataGrouping: {
customGroups: [{ min: 0, max: 50 }],
type: 'Custom',
},
},
],
}}
onSubmit={noop}
onChange={noop}
/>,
Expand Down

0 comments on commit b6c2967

Please sign in to comment.