mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-11 01:01:13 +00:00
test: decouple pi-tools params test imports
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import { Type } from "@sinclair/typebox";
|
||||
import { describe, expect, it, vi } from "vitest";
|
||||
import { __testing } from "./pi-tools.js";
|
||||
import { CLAUDE_PARAM_GROUPS } from "./pi-tools.params.js";
|
||||
|
||||
const { assertRequiredParams, patchToolSchemaForClaudeCompatibility, wrapToolParamNormalization } =
|
||||
__testing;
|
||||
import {
|
||||
assertRequiredParams,
|
||||
CLAUDE_PARAM_GROUPS,
|
||||
patchToolSchemaForClaudeCompatibility,
|
||||
wrapToolParamNormalization,
|
||||
} from "./pi-tools.params.js";
|
||||
|
||||
describe("assertRequiredParams", () => {
|
||||
it("patches Claude-compatible file tool schemas to disallow unknown parameters", () => {
|
||||
|
||||
Reference in New Issue
Block a user