checkpoint: pre-split branch cleanup
This commit is contained in:
parent
4c2ae2e5b7
commit
b5db7a7753
276 changed files with 35912 additions and 60119 deletions
|
|
@ -1,16 +1,16 @@
|
|||
// @ts-ignore
|
||||
import { expect, test, describe, mock } from 'bun:test';
|
||||
|
||||
// Mock the hook that the component tries to import
|
||||
mock.module('@/hooks/use-url-state', () => ({
|
||||
useUrlState: () => ({ setUrlState: () => { }, swarmId: '1' })
|
||||
}));
|
||||
|
||||
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');
|
||||
});
|
||||
});
|
||||
// @ts-ignore
|
||||
import { expect, test, describe, mock } from 'bun:test';
|
||||
|
||||
// Mock the hook that the component tries to import
|
||||
mock.module('@/hooks/use-url-state', () => ({
|
||||
useUrlState: () => ({ setUrlState: () => { }, swarmId: '1' })
|
||||
}));
|
||||
|
||||
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,11 +1,11 @@
|
|||
// @ts-ignore
|
||||
import { expect, test, describe } from 'bun:test';
|
||||
|
||||
describe('SwarmWorkspace Component', () => {
|
||||
test('exports SwarmWorkspace component that is a function', async () => {
|
||||
// @ts-ignore
|
||||
const mod = await import('../../../src/components/swarm/swarm-workspace');
|
||||
expect(mod.SwarmWorkspace).toBeDefined();
|
||||
expect(typeof mod.SwarmWorkspace).toBe('function');
|
||||
});
|
||||
});
|
||||
// @ts-ignore
|
||||
import { expect, test, describe } from 'bun:test';
|
||||
|
||||
describe('SwarmWorkspace Component', () => {
|
||||
test('exports SwarmWorkspace component that is a function', async () => {
|
||||
// @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