agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
/**
* A Jest environment that buffers outputs to `console.log()` and only shows it for failing tests.
*/
import type { EnvironmentContext, JestEnvironment, JestEnvironmentConfig } from '@jest/environment';
import { TestEnvironment as NodeEnvironment } from 'jest-environment-node';
export default class TestEnvironment extends NodeEnvironment implements JestEnvironment<unknown> {
private log;
private originalConsole;
private originalStdoutWrite;
private originalStderrWrite;
constructor(config: JestEnvironmentConfig, context: EnvironmentContext);
setup(): Promise<void>;
teardown(): Promise<void>;
private startCapture;
private stopCapture;
}