Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

Commit

Permalink
Fixed chart view UAT
Browse files Browse the repository at this point in the history
  • Loading branch information
Guan Gui committed May 23, 2018
1 parent 825a04d commit c921590
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tests/chart/chart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: guiguan
* @Date: 2017-10-12T20:10:14+11:00
* @Last modified by: guiguan
* @Last modified time: 2017-10-13T10:41:41+11:00
* @Last modified time: 2018-05-23T09:57:10+10:00
*
* dbKoda - a modern, open source code editor, for MongoDB.
* Copyright (C) 2017-2018 Southbank Software
Expand Down Expand Up @@ -165,7 +165,7 @@ describe('ChartPanel', () => {
expect(await r.chart.isLegendExisting('`other')).toBeTruthy();
expect(await r.chart.minYValue).toEqual('0');
expect(await r.chart.maxYValue).toEqual('20000000');
expect(await r.chart.minXValue).toEqual('company444');
expect(await r.chart.minXValue).toEqual('company446');
expect(await r.chart.maxXValue).toEqual('`other');
});

Expand All @@ -181,7 +181,7 @@ describe('ChartPanel', () => {
expect(await r.chart.isLegendExisting('`other')).toBeFalsy();
expect(await r.chart.minYValue).toEqual('0');
expect(await r.chart.maxYValue).toEqual('100000');
expect(await r.chart.minXValue).toEqual('company450');
expect(await r.chart.minXValue).toEqual('company443');
expect(await r.chart.maxXValue).toEqual('company500');
});
});

0 comments on commit c921590

Please sign in to comment.