Interactive Angular 19 demo for @sda/notification-elements-ui with 6 sections: Bell & Feed, Notification Center, Inbox, Comments & Threads, Mention Input, and Full-Featured layout. Includes mock data, dark mode toggle, and real-time event log. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
304 B
JavaScript
16 lines
304 B
JavaScript
// @ts-check
|
|
import {
|
|
isBlob,
|
|
isFile,
|
|
} from '../dist/index.cjs'
|
|
|
|
test('isBlob', () => {
|
|
expect(isBlob(Blob)).toBe(false)
|
|
expect(isBlob(new Blob())).toBe(true)
|
|
})
|
|
|
|
test('isFile', () => {
|
|
expect(isFile(File)).toBe(false)
|
|
expect(isFile(new File([''], '', { type: 'text/html' }))).toBe(true)
|
|
})
|