This commit is contained in:
16
tests/index.test.ts
Normal file
16
tests/index.test.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
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');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user