Skip to content

Commit

Permalink
fix: 图例初始化完成事件
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Nov 10, 2022
1 parent f15561f commit 2c66fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/l7plot/__tests__/unit/plots/heatmap/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('heatmap', () => {
});

return new Promise<void>((resolve, reject) => {
heatmap.on('loaded', () => {
heatmap.on('add-legend', () => {
try {
expect(heatmap.legendControl).toBeDefined();
resolve();
Expand Down

0 comments on commit 2c66fea

Please sign in to comment.