Skip to content

Commit 0e3bf23

Browse files
committed
rm console
1 parent 81ce305 commit 0e3bf23

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/main.test.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,14 +364,12 @@ describe("jsx-dom", () => {
364364
}
365365

366366
const ref = lib.createRef<Button>()
367-
React.createElement(Button, { className: "", ref })
368367
const node = (
369368
<Button className="container" ref={ref}>
370369
Click me!
371370
</Button>
372371
)
373372
expect(node.className).toBe("container")
374-
console.log(ref)
375373
expect(ref.current).toBeInstanceOf(Button)
376374
})
377375
})

0 commit comments

Comments
 (0)