added a simple mcp ui in tests
This commit is contained in:
@@ -26,8 +26,11 @@ import SchemaTest from "./tests/schema-test";
|
||||
import SortableTest from "./tests/sortable-test";
|
||||
import { SqlAiTest } from "./tests/sql-ai-test";
|
||||
import Themes from "./tests/themes";
|
||||
import MCPTest from "./tests/mcp/mcp-test";
|
||||
import ErrorBoundary from "ui/components/display/ErrorBoundary";
|
||||
|
||||
const tests = {
|
||||
MCPTest,
|
||||
DropdownTest,
|
||||
Themes,
|
||||
ModalTest,
|
||||
@@ -88,7 +91,9 @@ function TestRoot({ children }) {
|
||||
</div>
|
||||
</AppShell.Scrollable>
|
||||
</AppShell.Sidebar>
|
||||
<AppShell.Main>{children}</AppShell.Main>
|
||||
<AppShell.Main key={window.location.href}>
|
||||
<ErrorBoundary key={window.location.href}>{children}</ErrorBoundary>
|
||||
</AppShell.Main>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user