mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
test(breakpoint): add unit tests
This commit is contained in:
parent
67df81eac9
commit
1ba777ade8
5 changed files with 174 additions and 28 deletions
9
tests/Breakpoint/Breakpoints.test.svelte
Normal file
9
tests/Breakpoint/Breakpoints.test.svelte
Normal file
|
@ -0,0 +1,9 @@
|
|||
<script lang="ts">
|
||||
import { breakpoints } from "carbon-components-svelte";
|
||||
</script>
|
||||
|
||||
<div data-testid="sm">{breakpoints.sm}</div>
|
||||
<div data-testid="md">{breakpoints.md}</div>
|
||||
<div data-testid="lg">{breakpoints.lg}</div>
|
||||
<div data-testid="xlg">{breakpoints.xlg}</div>
|
||||
<div data-testid="max">{breakpoints.max}</div>
|
Loading…
Add table
Add a link
Reference in a new issue