15 lines
359 B
TypeScript
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>
|
|
);
|
|
});
|
|
});
|