diff --git a/packages/integrations/lit/server.js b/packages/integrations/lit/server.js
index aa91d1ea8..ae89bd610 100644
--- a/packages/integrations/lit/server.js
+++ b/packages/integrations/lit/server.js
@@ -63,9 +63,9 @@ function* render(Component, attrs, slots) {
const shadowContents = instance.renderShadow({});
if (shadowContents !== undefined) {
const { mode = 'open', delegatesFocus } = instance.shadowRootOptions ?? {};
- // `delegatesFocus` is intentionally allowed to coerce to boolean to
- // match web platform behavior.
- const delegatesfocusAttr = delegatesFocus ? ' shadowrootdelegatesfocus' : '';
+ // `delegatesFocus` is intentionally allowed to coerce to boolean to
+ // match web platform behavior.
+ const delegatesfocusAttr = delegatesFocus ? ' shadowrootdelegatesfocus' : '';
yield ``;
yield* shadowContents;
yield '';
diff --git a/packages/integrations/lit/test/server.test.js b/packages/integrations/lit/test/server.test.js
index af1f99c71..315937401 100644
--- a/packages/integrations/lit/test/server.test.js
+++ b/packages/integrations/lit/test/server.test.js
@@ -86,9 +86,12 @@ describe('renderToStaticMarkup', () => {
it('should render DSD attributes based on shadowRootOptions', async () => {
const tagName = 'lit-component';
- customElements.define(tagName, class extends LitElement {
- static shadowRootOptions = {...LitElement.shadowRootOptions, delegatesFocus: true};
- });
+ customElements.define(
+ tagName,
+ class extends LitElement {
+ static shadowRootOptions = { ...LitElement.shadowRootOptions, delegatesFocus: true };
+ }
+ );
const render = await renderToStaticMarkup(tagName);
expect(render).to.deep.equal({
html: `<${tagName}>${tagName}>`,