Skip to content

Commit

Permalink
Update snippet_viewer_test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivam7-1 authored Apr 15, 2024
1 parent 7f5c649 commit aa19f4a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ suite('snippet viewer test', () => {
// clang-format off

// Pulled from real DOM of astronaut example.
snippetViewer.renderedSnippet = html`<!--?lit$343342268$--><model-viewer src="Astronaut.glb" ar="" camera-controls="" poster="poster.webp" shadow-intensity="1" ar-status="not-presenting">
snippetViewer.renderedSnippet = snippetViewer.renderedSnippet.innerText.replace(/<!--.*?-->/g, '');`<!--?lit$343342268$--><model-viewer src="Astronaut.glb" ar="" camera-controls="" poster="poster.webp" shadow-intensity="1" ar-status="not-presenting">
<!--?lit$128424273$--><!---->
<div class="progress-bar hide" slot="progress-bar">
<div class="update-bar"></div>
Expand Down Expand Up @@ -75,7 +75,7 @@ View in your space

// Pulled from real DOM of astronaut example with a hotspot.
// hotspot <button> is beteen two comments on the same line
snippetViewer.renderedSnippet = html`<!--?lit$128424273$--><model-viewer src="Astronaut.glb" ar="" camera-controls="" poster="poster.webp" shadow-intensity="1" ar-status="not-presenting">
snippetViewer.renderedSnippet = snippetViewer.renderedSnippet.innerText.replace(/<!--.*?-->/g, '');`<!--?lit$128424273$--><model-viewer src="Astronaut.glb" ar="" camera-controls="" poster="poster.webp" shadow-intensity="1" ar-status="not-presenting">
<!--?lit$128424273$--><!----><button class="Hotspot" slot="hotspot-1" data-position="-0.043973778464142396m 1.2075171453793048m 0.29653766978435936m" data-normal="-0.4260645307016329m -0.06968452861538316m 0.9020050344369756m" data-visibility-attribute="visible"><div class="HotspotAnnotation">asdf</div></button><!----><!---->
<div class="progress-bar hide" slot="progress-bar">
<div class="update-bar"></div>
Expand Down

0 comments on commit aa19f4a

Please sign in to comment.