17 lines
683 B
TypeScript
17 lines
683 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
import * as webUi from '../src/index';
|
|
|
|
describe('index exports', () => {
|
|
it('exposes runtime component exports', () => {
|
|
expect(typeof webUi.Button).toBe('function');
|
|
expect(typeof webUi.Chip).toBe('function');
|
|
expect(typeof webUi.DatePicker).toBe('function');
|
|
expect(typeof webUi.Dropdown).toBe('function');
|
|
expect(typeof webUi.Form).toBe('function');
|
|
expect(typeof webUi.InputField).toBe('function');
|
|
expect(typeof webUi.Label).toBe('function');
|
|
expect(typeof webUi.SidebarNavItem).toBe('function');
|
|
expect(typeof webUi.Table).toBe('function');
|
|
});
|
|
});
|