mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-06 15:17:58 +08:00
15 lines
433 B
TypeScript
15 lines
433 B
TypeScript
import { describe, it, expect } from 'vitest';
|
|
import { svgs } from './data/svgs';
|
|
|
|
describe('Get svgs by category', () => {
|
|
it('should have a category named "Social"', () => {
|
|
expect(svgs.find((svg) => svg.category === 'Social')).toBeDefined();
|
|
});
|
|
});
|
|
|
|
describe('Get a specific svg', () => {
|
|
it('should have a svg named "Discord"', () => {
|
|
expect(svgs.find((svg) => svg.title === 'Discord')).toBeDefined();
|
|
});
|
|
});
|