mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-01 11:41:14 +08:00
Add button component test
This commit is contained in:
1 parent
8c75c6645d
commit
82d2b0924b
1 file changed
+9
@@ -0,0 +1,9 @@
|
||||
import React from "react";
|
||||
import { Button } from "./Button";
|
||||
|
||||
describe("<Button />", () => {
|
||||
it("renders", () => {
|
||||
// see: https://on.cypress.io/mounting-react
|
||||
cy.mount(<Button className="border-gray-300">Test button</Button>);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user