summaryrefslogtreecommitdiff
path: root/packages/integrations/lit/test/server.test.js
diff options
context:
space:
mode:
authorGravatar Elliott Marquez <5981958+e111077@users.noreply.github.com> 2023-02-01 05:44:56 -0800
committerGravatar GitHub <noreply@github.com> 2023-02-01 08:44:56 -0500
commit2567aa48bba8751cf7e10429555f1e85830c9169 (patch)
tree13cc6d5638a0d6d9413f7a670bfda177962e153b /packages/integrations/lit/test/server.test.js
parent724f9dc2d61eba616a822042e2061feabd5f489c (diff)
downloadastro-2567aa48bba8751cf7e10429555f1e85830c9169.tar.gz
astro-2567aa48bba8751cf7e10429555f1e85830c9169.tar.zst
astro-2567aa48bba8751cf7e10429555f1e85830c9169.zip
[Lit] Forwards compatiblity for streaming Declarative Shadow DOM (#6055)
* Forwards compatiblity for streaming DSD * add shadowrootmode * update tests * add changeset
Diffstat (limited to 'packages/integrations/lit/test/server.test.js')
-rw-r--r--packages/integrations/lit/test/server.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/lit/test/server.test.js b/packages/integrations/lit/test/server.test.js
index e7b5e98f9..439c0877d 100644
--- a/packages/integrations/lit/test/server.test.js
+++ b/packages/integrations/lit/test/server.test.js
@@ -38,7 +38,7 @@ describe('renderToStaticMarkup', () => {
customElements.define(tagName, class extends LitElement {});
const render = await renderToStaticMarkup(tagName);
expect(render).to.deep.equal({
- html: `<${tagName}><template shadowroot="open"><!--lit-part--><!--/lit-part--></template></${tagName}>`,
+ html: `<${tagName}><template shadowroot="open" shadowrootmode="open"><!--lit-part--><!--/lit-part--></template></${tagName}>`,
});
});