Files
tabler-icons/packages/icons-svelte-runes/setupVitest.ts
Abdul-Kadir Coskun 0678fad12c Add Svelte 5 (Runes) icon package (#1434)
Introduced the @tabler/icons-svelte-runes package for Svelte 5+ with runes reactivity, including source, build, tests, and documentation. Updated issue templates, labeler, and README to reference the new package and distinguish between Svelte 4 and Svelte 5 usage. Adjusted build scripts and lockfile to support the new package.
2025-12-14 13:03:48 +01:00

10 lines
307 B
TypeScript

import { expect } from 'vitest';
import * as matchers from '@testing-library/jest-dom/matchers';
import htmlSerializer from 'jest-serializer-html';
// Extend Vitest's expect with jest-dom matchers
expect.extend(matchers);
// Add HTML serializer for snapshots
expect.addSnapshotSerializer(htmlSerializer);