✨ Workrail Formatters Test

Testing all formatting utilities from utils/formatters.js

ā° Time & Date Formatting

šŸ“Š Progress & Confidence

šŸ·ļø Status Formatting

šŸ”¢ Numbers & Counts

šŸ›”ļø Security & Text

', formatters.escapeHtml('')), renderTest('escapeHtml()', 'Normal text', formatters.escapeHtml('Normal text')), renderTest('truncate()', ['Very long title here', 15], formatters.truncate('Very long title that needs truncating', 15)), renderTest('truncate()', ['Short', 15], formatters.truncate('Short', 15)), ].join(''); console.log('%cāœ… All formatters loaded successfully!', 'color: green; font-weight: bold; font-size: 14px;'); console.log('Available formatters:', Object.keys(formatters)); console.log('Try: formatters.formatTime(new Date())');