mirror of
https://github.com/iconify/collections-json.git
synced 2024-11-08 14:21:00 +00:00
11 lines
338 B
TypeScript
11 lines
338 B
TypeScript
import { resolve, normalize } from 'pathe';
|
|
import { locate } from '../';
|
|
|
|
describe('lookupCollection and lookupCollections', () => {
|
|
test('mdi resolves the json collection', () => {
|
|
const received = locate('mdi') as string;
|
|
const expected = normalize(resolve('./json/mdi.json'));
|
|
expect(received).toBe(expected);
|
|
});
|
|
});
|