UNPKG

organism-react-i13n

Version:
20 lines (19 loc) 556 B
var _I13nElement; import { expect } from "chai"; import { render, jsdom, cleanIt } from "reshow-unit"; import I13nElement from "../I13nElement.mjs"; import { jsx as _jsx } from "react/jsx-runtime"; describe("I13nElement test", function () { before(function () { jsdom(null, { url: "https://localhost" }); }); afterEach(function () { cleanIt(); }); it("basic test", function () { var wrap = render(_I13nElement || (_I13nElement = /*#__PURE__*/_jsx(I13nElement, {}))); expect(wrap.html()).to.have.string("div"); }); });