feat: merge accepted frontend design updates
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import { readFile } from 'node:fs/promises';
|
||||
import test from 'node:test';
|
||||
|
||||
test('dock preview is mounted in the workspace rather than inside the moving panel', async () => {
|
||||
const source = await readFile(new URL('../src/components/FloatingPanel.tsx', import.meta.url), 'utf8');
|
||||
|
||||
assert.match(source, /createPortal\(/);
|
||||
assert.match(source, /workspaceNodeRef\.current,\s*\n\s*\)/);
|
||||
});
|
||||
Reference in New Issue
Block a user