mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 07:25:12 +00:00
fix test
This commit is contained in:
parent
429159f919
commit
264e72d335
1 changed files with 8 additions and 0 deletions
|
@ -443,10 +443,14 @@ describe('Chart', () => {
|
||||||
const chartDays = await testIntersectionChart.getChart('day', 3, null);
|
const chartDays = await testIntersectionChart.getChart('day', 3, null);
|
||||||
|
|
||||||
assert.deepStrictEqual(chartHours, {
|
assert.deepStrictEqual(chartHours, {
|
||||||
|
a: [2, 0, 0],
|
||||||
|
b: [1, 0, 0],
|
||||||
aAndB: [0, 0, 0],
|
aAndB: [0, 0, 0],
|
||||||
});
|
});
|
||||||
|
|
||||||
assert.deepStrictEqual(chartDays, {
|
assert.deepStrictEqual(chartDays, {
|
||||||
|
a: [2, 0, 0],
|
||||||
|
b: [1, 0, 0],
|
||||||
aAndB: [0, 0, 0],
|
aAndB: [0, 0, 0],
|
||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
@ -462,10 +466,14 @@ describe('Chart', () => {
|
||||||
const chartDays = await testIntersectionChart.getChart('day', 3, null);
|
const chartDays = await testIntersectionChart.getChart('day', 3, null);
|
||||||
|
|
||||||
assert.deepStrictEqual(chartHours, {
|
assert.deepStrictEqual(chartHours, {
|
||||||
|
a: [2, 0, 0],
|
||||||
|
b: [2, 0, 0],
|
||||||
aAndB: [1, 0, 0],
|
aAndB: [1, 0, 0],
|
||||||
});
|
});
|
||||||
|
|
||||||
assert.deepStrictEqual(chartDays, {
|
assert.deepStrictEqual(chartDays, {
|
||||||
|
a: [2, 0, 0],
|
||||||
|
b: [2, 0, 0],
|
||||||
aAndB: [1, 0, 0],
|
aAndB: [1, 0, 0],
|
||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in a new issue