From b788c039927df390f4df8a3cb450ecb990f165b1 Mon Sep 17 00:00:00 2001 From: Evan You Date: Sat, 26 Oct 2019 10:31:36 -0400 Subject: [PATCH] test: fix context.attrs test case --- packages/runtime-core/__tests__/apiSetupContext.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/runtime-core/__tests__/apiSetupContext.spec.ts b/packages/runtime-core/__tests__/apiSetupContext.spec.ts index d0602fc9..b9876870 100644 --- a/packages/runtime-core/__tests__/apiSetupContext.spec.ts +++ b/packages/runtime-core/__tests__/apiSetupContext.spec.ts @@ -117,6 +117,8 @@ describe('api: setup context', () => { const Child = { // explicit empty props declaration // puts everything received in attrs + // disable implicit fallthrough + inheritAttrs: false, props: {}, setup(props: any, { attrs }: any) { return () => h('div', attrs)