Skip to content

Commit

Permalink
rm console
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-kinokon committed Mar 23, 2024
1 parent 81ce305 commit 0e3bf23
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/main.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -364,14 +364,12 @@ describe("jsx-dom", () => {
}

const ref = lib.createRef<Button>()
React.createElement(Button, { className: "", ref })
const node = (
<Button className="container" ref={ref}>
Click me!
</Button>
)
expect(node.className).toBe("container")
console.log(ref)
expect(ref.current).toBeInstanceOf(Button)
})
})
Expand Down

0 comments on commit 0e3bf23

Please sign in to comment.