1import assert from 'node:assert/strict'2import test from 'node:test'3import { formatIconMarkup, hasFormatIcon } from '../src/format-icons.js'4import { launcherCatalog } from '../src/launcher-catalog.js'56test('every launcher format has a static iconographic representation', () => {7 for (const entry of launcherCatalog) {8 assert.equal(hasFormatIcon(entry.id), true, `${entry.id} should have an assigned icon`)9 assert.match(formatIconMarkup(entry.id), /^<svg[^>]+>.+<\/svg>$/)10 }11})