Skip to content

Commit

Permalink
【ut】fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongjiaojiao committed Jun 28, 2024
1 parent f5d98a0 commit d7610ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe('Legend.vue', () => {
mapWrapper.vm.viewModel.on({ addlayerssucceeded: addCallback });
});

it('map not load', done => {
it('map not load', async done => {
wrapper = mount(SmLegend);
await wrapper.setProps({ layerNames: ['民航数据'] })
await wrapper.vm.$nextTick();
Expand Down

0 comments on commit d7610ca

Please sign in to comment.