Branchwell

AI Resource Pro / website / scripts / test-icon-update.ts

1import { seedCategories } from '@/utils/seed-categories';
2
3/**
4 * Script to test the updated seedCategories function
5 * This will update emoji icons to Lucide React icons
6 */
7async function main() {
8 console.log('Testing category icon updates...');
9
10 try {
11 await seedCategories();
12 console.log('Test completed successfully');
13 } catch (error) {
14 console.error('Error during test:', error);
15 process.exit(1);
16 }
17}
18
19main()
20 .then(() => process.exit(0))
21 .catch((error) => {
22 console.error('Unhandled error:', error);
23 process.exit(1);
24 });