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

17 lines
396 B
TypeScript

// Copyright (c) 2023 Tudor Stanciu
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>
);
});
});