Skip to content

Commit

Permalink
【fix】UT
Browse files Browse the repository at this point in the history
  • Loading branch information
songyumeng committed May 16, 2024
1 parent 342e34e commit e0dcaf1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build/iclient/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { GetFeaturesBySQLParameters } from '../src/common/iServer/GetFeaturesByS
import { GetFeaturesBySQLService } from '../src/common/iServer/GetFeaturesBySQLService';
import { FeatureService } from '../src/common/iServer/FeatureService';
import { Util } from '../src/common/commontypes/Util';
import { ColorsPickerUtil } from '../src/common/util/ColorsPickerUtil';

export {
QueryBySQLParameters,
Expand All @@ -15,5 +16,6 @@ export {
GetFeaturesBySQLParameters,
GetFeaturesBySQLService,
FeatureService,
Util
Util,
ColorsPickerUtil
};
2 changes: 1 addition & 1 deletion src/common/_utils/style/theme/__tests__/chart.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('chart test', () => {
done();
});
it('chartThemeUtil null', done => {
const res = chartThemeUtil();
const res = chartThemeUtil( undefined, undefined, undefined, 217);
expect(res.backgroundColor).toBe('rgba(255, 255, 255, 0.6)');
expect(res.title.textStyle.color).toBe('#333');
expect(res.color.length).toBe(217);
Expand Down

0 comments on commit e0dcaf1

Please sign in to comment.