mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-03 17:10:10 +08:00
Add button component test
This commit is contained in:
@@ -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