feat(swarm): modify unified-shell to render swarm layout
This commit is contained in:
parent
b721073585
commit
654f73f83d
6 changed files with 13 additions and 5 deletions
|
|
@ -1,3 +1,4 @@
|
|||
// @ts-ignore
|
||||
import { expect, test, describe, mock } from 'bun:test';
|
||||
|
||||
// Mock the hook that the component tries to import
|
||||
|
|
@ -7,6 +8,7 @@ mock.module('@/hooks/use-url-state', () => ({
|
|||
|
||||
describe('SwarmMissionPicker Component', () => {
|
||||
test('exports SwarmMissionPicker component that is a function', async () => {
|
||||
// @ts-ignore
|
||||
const mod = await import('../../../src/components/swarm/swarm-mission-picker');
|
||||
expect(mod.SwarmMissionPicker).toBeDefined();
|
||||
expect(typeof mod.SwarmMissionPicker).toBe('function');
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
// @ts-ignore
|
||||
import { expect, test, describe } from 'bun:test';
|
||||
|
||||
describe('SwarmWorkspace Component', () => {
|
||||
test('exports SwarmWorkspace component that is a function', async () => {
|
||||
// This will fail because the file doesn't exist yet
|
||||
// @ts-ignore
|
||||
const mod = await import('../../../src/components/swarm/swarm-workspace');
|
||||
expect(mod.SwarmWorkspace).toBeDefined();
|
||||
expect(typeof mod.SwarmWorkspace).toBe('function');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue