tuitio-client-react/tests/TuitioProvider.test.tsx

15 lines
359 B
TypeScript

import * as React from "react";
import { render } from "@testing-library/react";
import "jest-canvas-mock";
import TuitioProvider from "../src";
describe("Tuitio provider render", () => {
it("renders without crashing", () => {
render(
<TuitioProvider tuitioUrl="https://test.com/api">
<div></div>
</TuitioProvider>
);
});
});