"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var react_2 = require("@testing-library/react");
var BasicView_1 = require("./BasicView");
describe('BasicView tests', function () {
    it('should render styled paper with children', function () {
        var className = 'myClass';
        (0, react_2.render)(react_1.default.createElement(BasicView_1.BasicView, { className: className },
            react_1.default.createElement("div", { "data-reltio-id": "child" })));
        var child = react_2.screen.getByTestId('child');
        expect(child).toBeInTheDocument();
        expect(child.parentElement).toHaveClass(className);
    });
});
