Skip to content

Commit

Permalink
Merge pull request #106 from zouyaoji/dev
Browse files Browse the repository at this point in the history
Update viewer.spec.ts
  • Loading branch information
zouyaoji authored Mar 30, 2021
2 parents 7b132f6 + a935fd4 commit bdfd077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/viewer/__tests__/viewer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ describe('Viewer.vue', () => {
},
attachTo: div
})
// expect(wrapper.text()).toEqual(AXIOM)
expect(wrapper.text()).toEqual(AXIOM)
// console.log(wrapper)
//
// 为啥不执行 $script.onload ?? 导致测试没法加载 CesiumJS.
const vm = wrapper.vm as VcComponentPublicInstance
await vm.createPromise
// await vm.createPromise
console.log('onViewerReady11')
// console.log(vm.getCesiumObject())
}, 25000)
Expand Down

0 comments on commit bdfd077

Please sign in to comment.