test(toast): remove testcase dependency on button component

This commit is contained in:
unix
2020-05-08 00:02:15 +08:00
parent 3eb90ef76a
commit 07d7858151

View File

@@ -15,9 +15,9 @@ const MockToast: React.FC<{}> = () => {
setToast(params)
}
return (
<button id="btn" onClick={clickHandler}>
<div id="btn" onClick={clickHandler}>
btn
</button>
</div>
)
}