test(inline-notification): add unit tests

This commit is contained in:
Eric Liu 2025-03-20 12:20:46 -07:00
commit 7317192e90
5 changed files with 211 additions and 49 deletions

View file

@ -0,0 +1,12 @@
<script lang="ts">
import { InlineNotification } from "carbon-components-svelte";
</script>
<InlineNotification
title="Error"
subtitle="An internal server error occurred."
on:close={(e) => {
e.preventDefault();
console.log("close", e.detail);
}}
/>