railbird-gql/tests/App.test.tsx
2024-01-06 19:07:16 -07:00

13 lines
272 B
TypeScript

import React from "react";
import renderer from "react-test-renderer";
import App from "../App";
describe("<App />", () => {
it("has 1 child", () => {
const tree = renderer.create(<App />).toJSON();
expect(tree.children.length).toBe(1);
});
});