|
1 | | -import { describe, expect, it } from 'bun:test' |
2 | | - |
3 | | -describe('export', () => { |
4 | | - it('should export components', async () => { |
5 | | - const index = await import('../index') |
6 | | - expect({ ...index }).toEqual({ |
7 | | - Button: expect.any(Object), |
8 | | - Input: expect.any(Object), |
9 | | - Textarea: expect.any(Object), |
10 | | - Stepper: expect.any(Function), |
11 | | - Select: expect.any(Function), |
12 | | - Radio: expect.any(Object), |
13 | | - RadioGroup: expect.any(Function), |
14 | | - SelectContainer: expect.any(Function), |
15 | | - SelectDivider: expect.any(Function), |
16 | | - SelectOption: expect.any(Function), |
17 | | - SelectTrigger: expect.any(Function), |
18 | | - StepperContainer: expect.any(Function), |
19 | | - StepperDecreaseButton: expect.any(Function), |
20 | | - StepperIncreaseButton: expect.any(Function), |
21 | | - StepperInput: expect.any(Function), |
22 | | - useStepper: expect.any(Function), |
23 | | - SelectContext: expect.any(Object), |
24 | | - useSelect: expect.any(Function), |
25 | | - Toggle: expect.any(Function), |
26 | | - Checkbox: expect.any(Object), |
27 | | - }) |
28 | | - }) |
29 | | -}) |
| 1 | +import { describe, expect, it } from 'bun:test' |
| 2 | + |
| 3 | +describe('export', () => { |
| 4 | + it('should export components', async () => { |
| 5 | + const index = await import('../index') |
| 6 | + expect({ ...index }).toEqual({ |
| 7 | + Button: expect.any(Object), |
| 8 | + Input: expect.any(Object), |
| 9 | + Textarea: expect.any(Object), |
| 10 | + Stepper: expect.any(Function), |
| 11 | + Select: expect.any(Function), |
| 12 | + Radio: expect.any(Object), |
| 13 | + RadioGroup: expect.any(Function), |
| 14 | + SelectContainer: expect.any(Function), |
| 15 | + SelectDivider: expect.any(Function), |
| 16 | + SelectOption: expect.any(Function), |
| 17 | + SelectTrigger: expect.any(Object), |
| 18 | + StepperContainer: expect.any(Function), |
| 19 | + StepperDecreaseButton: expect.any(Function), |
| 20 | + StepperIncreaseButton: expect.any(Function), |
| 21 | + StepperInput: expect.any(Function), |
| 22 | + useStepper: expect.any(Function), |
| 23 | + SelectContext: expect.any(Object), |
| 24 | + useSelect: expect.any(Function), |
| 25 | + Toggle: expect.any(Function), |
| 26 | + Checkbox: expect.any(Object), |
| 27 | + }) |
| 28 | + }) |
| 29 | +}) |
0 commit comments