mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Remove improper test skipping logic
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -13,13 +13,6 @@ import {
|
||||
import type { AgentStreamEventPayload } from "../../messages.js";
|
||||
import type { AgentProvider, AgentSessionConfig, AgentStreamEvent, AgentTimelineItem } from "../agent-sdk-types.js";
|
||||
|
||||
const claudeIntegrationEnabled = Boolean(process.env.ANTHROPIC_API_KEY?.trim()?.length);
|
||||
const describeClaudeIntegration = claudeIntegrationEnabled ? describe : describe.skip;
|
||||
|
||||
if (!claudeIntegrationEnabled) {
|
||||
console.warn("Skipping ClaudeAgentClient integration tests because ANTHROPIC_API_KEY is not set.");
|
||||
}
|
||||
|
||||
function tmpCwd(): string {
|
||||
const dir = mkdtempSync(path.join(os.tmpdir(), "claude-agent-e2e-"));
|
||||
try {
|
||||
@@ -69,7 +62,7 @@ function isSleepCommandToolCall(item: ToolCallItem): boolean {
|
||||
return inputCommand.includes("sleep 60");
|
||||
}
|
||||
|
||||
describeClaudeIntegration("ClaudeAgentClient (SDK integration)", () => {
|
||||
describe("ClaudeAgentClient (SDK integration)", () => {
|
||||
test(
|
||||
"responds with text",
|
||||
async () => {
|
||||
|
||||
Reference in New Issue
Block a user