function fixtureSync(template, options) {
  if (typeof template === 'string') {
    return stringFixtureSync(template, options);
  }
  if (!!options?.render || isValidRenderArg(template)) {
    return litFixtureSync(template, options);
  }
  throw new Error(
    'Invalid template provided - string, number, boolean, Node, TemplateResult, or array or iterable thereof are supported',
  );
}
Renders a string/TemplateResult and puts it in the DOM via a fixtureWrapper.

@example
const el = fixtureSync('<my-el><span></span></my-el>');

@template {Element} T
@param {import('./renderable.js').LitHTMLRenderable} template Either a string or lit-html TemplateResult
@param {FixtureOptions} [options]
@returns {T} First child of the rendered DOM