import mocha from 'mocha'; import chai from 'chai'; import { getNode } from './node'; import { addFinder, findPlaceholders } from '@iconify/iconify/lib/finder'; import { IconifyFinder } from '@iconify/iconify/lib/interfaces/finder'; import { finder as iconifyFinder } from '@iconify/iconify/lib/finders/iconify-v1'; import { finder as iconifyIconFinder } from '@iconify/iconify/lib/finders/iconify-v1-icon'; import { IconifyIconName } from '@iconify/core/lib/icon/name'; const expect = chai.expect; // Add finders addFinder(iconifyFinder); addFinder(iconifyIconFinder); describe('Testing legacy finder', () => { it('Finding nodes', () => { const node = getNode('finder'); node.innerHTML = '
List of icons