refactor(web): use real core in demos and tests (#4, #5)

This commit is contained in:
Florian Schmidt
2026-11-16 00:21:03 +01:00
parent 4e79af3e24
commit 08d5441cf2
6 changed files with 8 additions and 237 deletions
+1 -2
View File
@@ -7,7 +7,6 @@ import {
within,
} from "@testing-library/react";
import { expect, it, vi } from "vitest";
vi.mock("@shellbook/core", () => import("../mock/core"));
vi.mock("../Editor", () => ({
Editor: ({
source,
@@ -27,7 +26,7 @@ import { App } from "../App";
import { HttpError } from "../api";
import type { Api } from "../api";
import type { ServerEvent, StartRunRequest } from "@shellbook/core";
import { parseNotebook } from "../mock/core";
import { parseNotebook } from "@shellbook/core";
import source from "../mock/ssh-key.md?raw";
function harness() {