UNPKG

@netdata/netdata-ui

Version:
11 lines 481 B
import React from "react"; import { renderWithProviders } from "testUtilities"; import { TextInputMock } from "./input.mock"; describe("TextInput test", function () { it(" * should render with required props", function () { var _renderWithProviders = renderWithProviders(/*#__PURE__*/React.createElement(TextInputMock, null)), container = _renderWithProviders.container; var result = container.querySelectorAll("input"); expect(result).not.toBeNull(); }); });