Revert "Merge pull request #2609 from code-yeongyu/fix/rename-omx-to-omo-env"
This reverts commit4759dfb654, reversing changes made to8213534e87.
This commit is contained in:
@@ -63,8 +63,8 @@ describe("OpenClaw Dispatcher", () => {
|
||||
|
||||
describe("wakeCommandGateway", () => {
|
||||
it("rejects if disabled via env", async () => {
|
||||
const oldEnv = process.env.OMO_OPENCLAW_COMMAND;
|
||||
process.env.OMO_OPENCLAW_COMMAND = "0";
|
||||
const oldEnv = process.env.OMX_OPENCLAW_COMMAND;
|
||||
process.env.OMX_OPENCLAW_COMMAND = "0";
|
||||
const config: OpenClawCommandGatewayConfig = {
|
||||
type: "command",
|
||||
command: "echo hi",
|
||||
@@ -72,7 +72,7 @@ describe("OpenClaw Dispatcher", () => {
|
||||
const result = await wakeCommandGateway("test", config, {});
|
||||
expect(result.success).toBe(false);
|
||||
expect(result.error).toContain("disabled");
|
||||
process.env.OMO_OPENCLAW_COMMAND = oldEnv;
|
||||
process.env.OMX_OPENCLAW_COMMAND = oldEnv;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user