Skip to content
Prev Previous commit
Next Next commit
fix: restore HTML structure to fix existing tests
Move array pattern test to end of HTML to avoid breaking
existing test selectors and page structure.
  • Loading branch information
abbasyed committed Oct 2, 2025
commit 3808aa9f4d5d0158d30d0f0084e03a48b1cba28d
5 changes: 3 additions & 2 deletions playground/glob-import/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ <h2>In package</h2>
<pre class="in-package"></pre>
<h2>Base</h2>
<pre class="result-base"></pre>
<h2>Array Pattern with Exclusions</h2>
<pre class="array-result"></pre>

<script type="module" src="./dir/index.js"></script>
<script type="module">
Expand Down Expand Up @@ -190,6 +188,9 @@ <h2>Array Pattern with Exclusions</h2>
)
</script>

<h2>Array Pattern with Exclusions</h2>
<pre class="array-result"></pre>

<script type="module">
const arrayModules = import.meta.glob(
['./array-test-dir/*.js', '!./array-test-dir/excluded.js'],
Expand Down
Loading