From 7b4746250f267a49bf00e25b24b2807397689a7f Mon Sep 17 00:00:00 2001
From: vwxyutarooo <yutaro@studio-rubbish.com>
Date: Thu, 15 Feb 2018 18:08:47 +0900
Subject: [PATCH 1/2] test: add attributes() and props() to type test

---
 types/test/wrapper.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/types/test/wrapper.ts b/types/test/wrapper.ts
index f92d79632..2fd24a347 100644
--- a/types/test/wrapper.ts
+++ b/types/test/wrapper.ts
@@ -13,8 +13,10 @@ bool = wrapper.contains(ClassComponent)
 bool = wrapper.exists()
 
 bool = wrapper.hasAttribute('foo', 'bar')
+bool = wrapper.attributes().foo === 'bar'
 bool = wrapper.hasClass('foo-class')
 bool = wrapper.hasProp('checked', true)
+bool = wrapper.props().checked
 bool = wrapper.hasStyle('color', 'red')
 
 bool = wrapper.is(normalOptions)

From a9498317b1507dd238311f931700c65f4bbc1469 Mon Sep 17 00:00:00 2001
From: vwxyutarooo <yutaro@studio-rubbish.com>
Date: Thu, 15 Feb 2018 18:42:56 +0900
Subject: [PATCH 2/2] fix: type props and attributes in BaseWrapper #432

---
 types/index.d.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/types/index.d.ts b/types/index.d.ts
index 295f3df98..066075b9f 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -47,9 +47,9 @@ interface BaseWrapper {
   exists (): boolean
   visible (): boolean
 
-  attributes(): { [name: string]: string } | void
+  attributes(): { [name: string]: string }
   classes(): Array<string> | void
-  props(): { [name: string]: any } | void
+  props(): { [name: string]: any }
 
   hasAttribute (attribute: string, value: string): boolean
   hasClass (className: string): boolean