2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-12 13:47:49 +00:00

chore: use capital letters and underscore for prefix and provider in custom loader test

This commit is contained in:
Vjacheslav Trushkin 2024-11-03 19:39:17 +02:00
parent 84f87bacb3
commit e825a8e63e

View File

@ -10,7 +10,7 @@ describe('Testing API loadIcons', () => {
let prefixCounter = 0; let prefixCounter = 0;
function nextPrefix(): string { function nextPrefix(): string {
prefixCounter++; prefixCounter++;
return `loader-test-${prefixCounter < 10 ? '0' : ''}${prefixCounter}`; return `CustomLoaderTest_${prefixCounter}`;
} }
it('Custom async loader for multiple icons with loadIcon', () => { it('Custom async loader for multiple icons with loadIcon', () => {