mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-24 04:15:54 +08:00
test(toast): remove testcase dependency on button component
This commit is contained in:
@@ -15,9 +15,9 @@ const MockToast: React.FC<{}> = () => {
|
||||
setToast(params)
|
||||
}
|
||||
return (
|
||||
<button id="btn" onClick={clickHandler}>
|
||||
<div id="btn" onClick={clickHandler}>
|
||||
btn
|
||||
</button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user