mirror of
https://github.com/tabler/tabler-icons.git
synced 2026-01-25 05:06:27 +00:00
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.
10 lines
307 B
TypeScript
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);
|