Skip to content

Commit

Permalink
test: fix unit-test wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
xyy94813 committed Oct 28, 2023
1 parent c911ec7 commit 1e4c31e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { render, cleanup } from '@testing-library/react';
import useAMap from '../../../hooks/useAMap';
import useAMapPluginInstance from '../../../hooks/useAMapPluginInstance';

import { AMapPolygonEditor } from '../../../index';
import AMapPolygonEditor from '../AMapPolygonEditor';

const mockMapInstance = {
on: jest.fn(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { render, cleanup } from '@testing-library/react';
import useAMap from '../../../hooks/useAMap';
import useAMapPluginInstance from '../../../hooks/useAMapPluginInstance';

import { AMapPolylineEditor } from '../../../index';
import AMapPolylineEditor from '../AMapPolylineEditor';

const mockMapInstance = {
on: jest.fn(),
Expand Down

0 comments on commit 1e4c31e

Please sign in to comment.