dx(runtime-core): add selector in mount warning (#2563)
This commit is contained in:
@@ -205,7 +205,7 @@ describe('compiler + runtime integration', () => {
|
||||
createApp(App).mount('#not-exist-id')
|
||||
|
||||
expect(
|
||||
'[Vue warn]: Failed to mount app: mount target selector returned null.'
|
||||
'[Vue warn]: Failed to mount app: mount target selector "#not-exist-id" returned null.'
|
||||
).toHaveBeenWarned()
|
||||
document.querySelector = origin
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user