fix(devtools): fix prod devtools detection + handle late devtools hook injection (#4653)

This commit is contained in:
Evan You
2021-09-22 09:07:08 -04:00
committed by GitHub
parent 64aa8e26ae
commit 2476eaad6e
5 changed files with 39 additions and 24 deletions

View File

@@ -47,7 +47,7 @@ describe('renderSlot', () => {
return [createVNode('div', null, 'foo', PatchFlags.TEXT)]
},
// mock instance
{ type: {} } as any
{ type: {}, appContext: {} } as any
) as Slot
// manual invocation should not track