remove .only
This commit is contained in:
@@ -250,7 +250,7 @@ test("button onClick", async () => {
|
|||||||
await waitForWithTimeout(() => clicked, 1000)
|
await waitForWithTimeout(() => clicked, 1000)
|
||||||
})
|
})
|
||||||
|
|
||||||
test.only("button click with state", async () => {
|
test("button click with state", async () => {
|
||||||
function Counter() {
|
function Counter() {
|
||||||
const [count, setCount] = useState(0)
|
const [count, setCount] = useState(0)
|
||||||
return <Button onClick={() => setCount(count + 1)}>{count}</Button>
|
return <Button onClick={() => setCount(count + 1)}>{count}</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user