build(config): refactored build and TypeScript configuration with Bun loaders
- Removed WASM generation script; use Bun `wasm?raw` loader for imports. - Added bunfig.toml with loaders for `.md`, `.py`, and `.wasm?raw` text imports. - Added types/assets/index.d.ts for global TypeScript module declarations. - Unified TypeScript configuration with tsgo-based checking across monorepo. - Removed build and WASM steps from install and publish pipelines.
This commit is contained in:
@@ -102,7 +102,7 @@ describe("PythonKernel.start (local gateway)", () => {
|
||||
using tempDir = createTempDirSync("@python-kernel-env-");
|
||||
const kernel = await PythonKernel.start({ cwd: tempDir.path, env: { CUSTOM_VAR: "ok" } });
|
||||
|
||||
const createCall = fetchSpy.mock.calls.find(([input, init]) => {
|
||||
const createCall = fetchSpy.mock.calls.find(([input, init]: [string | URL, RequestInit?]) => {
|
||||
const url = typeof input === "string" ? input : input.toString();
|
||||
return url.endsWith("/api/kernels") && init?.method === "POST";
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user