"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const react_2 = require("@testing-library/react");
const react_router_dom_1 = require("react-router-dom");
const DatasetHeader_1 = require("../DatasetHeader");
describe('DatasetHeader component', () => {
    it('renders with an undefined modality', () => {
        (0, react_2.render)(react_1.default.createElement(DatasetHeader_1.DatasetHeader, { pageHeading: "test page", modality: undefined, renderEditor: () => react_1.default.createElement(react_1.default.Fragment, null) }), { wrapper: react_router_dom_1.MemoryRouter });
        expect(react_2.screen.queryByRole('heading')).toBeInTheDocument();
    });
});
