Add button component test

This commit is contained in:
Martin H. Normark
2022-12-29 18:04:29 +01:00
parent 8c75c6645d
commit 82d2b0924b
+9
View File
@@ -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>);
});
});