mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
fix test
This commit is contained in:
parent
94365e97e9
commit
6a66143edb
1 changed files with 4 additions and 4 deletions
|
@ -439,8 +439,8 @@ describe('Chart', () => {
|
||||||
await testIntersectionChart.addB('carol');
|
await testIntersectionChart.addB('carol');
|
||||||
await testIntersectionChart.save();
|
await testIntersectionChart.save();
|
||||||
|
|
||||||
const chartHours = await testUniqueChart.getChart('hour', 3, null);
|
const chartHours = await testIntersectionChart.getChart('hour', 3, null);
|
||||||
const chartDays = await testUniqueChart.getChart('day', 3, null);
|
const chartDays = await testIntersectionChart.getChart('day', 3, null);
|
||||||
|
|
||||||
assert.deepStrictEqual(chartHours, {
|
assert.deepStrictEqual(chartHours, {
|
||||||
aAndB: [0, 0, 0],
|
aAndB: [0, 0, 0],
|
||||||
|
@ -458,8 +458,8 @@ describe('Chart', () => {
|
||||||
await testIntersectionChart.addB('alice');
|
await testIntersectionChart.addB('alice');
|
||||||
await testIntersectionChart.save();
|
await testIntersectionChart.save();
|
||||||
|
|
||||||
const chartHours = await testUniqueChart.getChart('hour', 3, null);
|
const chartHours = await testIntersectionChart.getChart('hour', 3, null);
|
||||||
const chartDays = await testUniqueChart.getChart('day', 3, null);
|
const chartDays = await testIntersectionChart.getChart('day', 3, null);
|
||||||
|
|
||||||
assert.deepStrictEqual(chartHours, {
|
assert.deepStrictEqual(chartHours, {
|
||||||
aAndB: [1, 0, 0],
|
aAndB: [1, 0, 0],
|
||||||
|
|
Loading…
Reference in a new issue