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,6 +1,6 @@
|
|||
import { describe, it } from 'node:test';
|
||||
import assert from 'node:assert';
|
||||
// We'll use bun test to add a specific rendering test
|
||||
// @ts-ignore
|
||||
import { expect, test as bunTest } from 'bun:test';
|
||||
|
||||
describe('UnifiedShell Component Contract', () => {
|
||||
|
|
@ -27,7 +27,7 @@ describe('UnifiedShell Component Contract', () => {
|
|||
|
||||
bunTest('UnifiedShell handles swarm view conditionally', async () => {
|
||||
const mod = await import('../../src/components/shared/unified-shell');
|
||||
const UnifiedShell = mod.UnifiedShell;
|
||||
const _UnifiedShell = mod.UnifiedShell;
|
||||
|
||||
// Create a minimal mock state to just render the function
|
||||
// We mock out the hooks if we can, but since this is a Server Component or uses context, it might be tricky.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue