mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
Integrated into release/v3.8.8. 9 legit test alignments + 34 new test files kept; restored 5 masked assertions (sk_ key redaction, circular/SSN redaction, T24 wait-log, THEORY-004 SSE, relay handoff) to strict/meaningful checks. Thanks @oyi77!
27 lines
785 B
TypeScript
27 lines
785 B
TypeScript
import { describe, it } from "node:test";
|
|
import assert from "node:assert/strict";
|
|
|
|
const mod = await import("../../open-sse/executors/devin-cli.ts");
|
|
|
|
describe("DevinCliExecutor", () => {
|
|
it("can be instantiated", () => {
|
|
const executor = new mod.DevinCliExecutor();
|
|
assert.ok(executor);
|
|
});
|
|
|
|
it("buildUrl returns devin protocol", () => {
|
|
const executor = new mod.DevinCliExecutor();
|
|
assert.equal(executor.buildUrl(), "devin://acp/stdio");
|
|
});
|
|
|
|
it("buildHeaders returns empty object", () => {
|
|
const executor = new mod.DevinCliExecutor();
|
|
assert.deepEqual(executor.buildHeaders(), {});
|
|
});
|
|
|
|
it("transformRequest returns null", () => {
|
|
const executor = new mod.DevinCliExecutor();
|
|
assert.equal(executor.transformRequest(), null);
|
|
});
|
|
});
|