vue3-yuanma/packages/runtime-core/__tests__
Evan You eb2ae44d94 refactor(types): widen Component type to include consutructor types
returned from `defineComponent`

ref: https://github.com/vuejs/vue-router-next/pull/421
also close #1880

Previous `Component` type is now exported as `ConcreteComponent`.

This introduces a minor breaking change when calling `h(comp, { ... })`
will now fail if `comp` is a of generic `Component` type, since it does
not specify what props it expects.
2020-08-19 16:19:25 -04:00
..
components refactor(types): widen Component type to include consutructor types 2020-08-19 16:19:25 -04:00
helpers fix(runtime-core): avoid manual slot invocation in template expressions interfering with block tracking 2020-08-06 10:16:13 -04:00
apiAsyncComponent.spec.ts feat(asyncComponent): add onError option for defineAsyncComponent 2020-04-07 14:34:42 -04:00
apiCreateApp.spec.ts test: move mockWarn into setup files 2020-07-27 22:58:51 -04:00
apiInject.spec.ts test: move mockWarn into setup files 2020-07-27 22:58:51 -04:00
apiLifecycle.spec.ts refactor(reactivity): separate track and trigger operation types 2019-12-03 11:30:24 -05:00
apiOptions.spec.ts fix(watch): allow handler to be a string (#1775) 2020-08-04 12:42:47 -04:00
apiSetupContext.spec.ts refactor(runtime-core): refactor props resolution 2020-04-06 17:37:47 -04:00
apiTemplateRef.spec.ts fix(runtime-core): separate null vs. non-null ref value updates (#1835) 2020-08-13 12:27:17 -04:00
apiWatch.spec.ts test(watch): add same value skipping trigger test 2020-08-14 17:35:49 -04:00
componentEmits.spec.ts test: move mockWarn into setup files 2020-07-27 22:58:51 -04:00
componentProps.spec.ts test: move mockWarn into setup files 2020-07-27 22:58:51 -04:00
componentProxy.spec.ts fix(runtime-core): check if the key is string on undefined property warning (#1731) 2020-07-29 10:06:36 -04:00
componentSlots.spec.ts refactor(runtime-core): remove emit return value 2020-04-10 10:59:46 -04:00
directives.spec.ts Revert "refactor(directives): remove binding.instance" 2020-03-16 13:06:46 -04:00
errorHandling.spec.ts refactor(runtime-core): adjust error handling behavior 2020-07-28 10:40:25 -04:00
h.spec.ts fix(types): add RawSlots in h signature (#1293) 2020-06-12 10:38:56 -04:00
hmr.spec.ts test: fix hmr test 2020-06-12 17:17:01 -04:00
hydration.spec.ts test: move mockWarn into setup files 2020-07-27 22:58:51 -04:00
misc.spec.ts refactor(reactivity): use more efficient reactive checks 2020-05-02 16:58:17 -04:00
rendererAttrsFallthrough.spec.ts test: move mockWarn into setup files 2020-07-27 22:58:51 -04:00
rendererChildren.spec.ts test: move mockWarn into setup files 2020-07-27 22:58:51 -04:00
rendererComponent.spec.ts test(runtime-core): add test for rendererComponent (#1393) 2020-07-15 09:34:23 -04:00
rendererElement.spec.ts test(runtime-core/renderer): tests for rendering elements (#699) 2020-03-09 17:08:05 -04:00
rendererFragment.spec.ts test: improve coverage 2020-07-15 10:38:45 -04:00
rendererOptimizedMode.spec.ts test: restructure 2019-08-29 16:56:31 -04:00
scheduler.spec.ts fix(runtime-core/scheduler): sort postFlushCbs to ensure refs are set before lifecycle hooks (#1854) 2020-08-14 09:50:23 -04:00
vnode.spec.ts test: move mockWarn into setup files 2020-07-27 22:58:51 -04:00
vnodeHooks.spec.ts test(runtime-core): tests for vnode hooks 2020-03-18 16:35:04 -04:00