test(theme): add unit tests

This commit is contained in:
Eric Liu 2025-03-16 13:52:33 -07:00
commit c8fc792851
7 changed files with 243 additions and 24 deletions

View file

@ -0,0 +1,15 @@
<script lang="ts">
import { Theme } from "carbon-components-svelte";
</script>
<Theme
render="select"
select={{
themes: ["white", "g90", "g100"],
labelText: "Select a theme",
inline: true,
}}
on:update={({ detail }) => {
console.log("update", detail);
}}
/>