2018-09-09 22:58:53 +03:00
|
|
|
const { icons } = require('../_data/simple-icons.json');
|
2021-02-22 16:15:37 +03:00
|
|
|
const { getIconSlug } = require('../scripts/utils.js');
|
2021-11-08 13:55:47 +03:00
|
|
|
const testIcon = require('./test-icon.js');
|
2021-11-06 18:03:37 +03:00
|
|
|
|
2021-11-23 23:33:37 +03:00
|
|
|
console.warn = () => {};
|
|
|
|
|
2021-10-25 22:13:10 +03:00
|
|
|
icons.forEach((icon) => {
|
2021-11-08 13:55:47 +03:00
|
|
|
const slug = getIconSlug(icon);
|
|
|
|
const subject = require(`../icons/${slug}.js`);
|
2021-04-06 17:53:46 +03:00
|
|
|
|
2021-11-08 13:55:47 +03:00
|
|
|
testIcon(icon, subject, slug);
|
2018-09-09 22:58:53 +03:00
|
|
|
});
|