docks66-json-schema
Yanick Champoux 2023-04-24 11:54:56 -04:00
parent fcdae270b7
commit 14641379bc
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
import { render } from "@testing-library/svelte";
import "@testing-library/jest-dom";
import Serialized from "./Serialized.svelte";
test("basic", () => {
const { getByText } = render(Serialized, {
props: {
data: "hello world",
format: "json",
},
});
expect(getByText("hello world")).toBeInTheDocument();
});