2023-03-18 15:54:29 +02:00
|
|
|
// Copyright (c) 2023 Tudor Stanciu
|
|
|
|
|
2023-02-11 20:52:00 +02:00
|
|
|
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>
|
|
|
|
);
|
|
|
|
});
|
|
|
|
});
|