test: isolate heartbeat workspace
This commit is contained in:
parent
23c2e0005b
commit
d224d671bd
@ -391,12 +391,14 @@ describe("runHeartbeatOnce", () => {
|
|||||||
const cfg: MoltbotConfig = {
|
const cfg: MoltbotConfig = {
|
||||||
agents: {
|
agents: {
|
||||||
defaults: {
|
defaults: {
|
||||||
|
workspace: tmpDir,
|
||||||
heartbeat: { every: "30m", prompt: "Default prompt" },
|
heartbeat: { every: "30m", prompt: "Default prompt" },
|
||||||
},
|
},
|
||||||
list: [
|
list: [
|
||||||
{ id: "main", default: true },
|
{ id: "main", default: true },
|
||||||
{
|
{
|
||||||
id: "ops",
|
id: "ops",
|
||||||
|
workspace: tmpDir,
|
||||||
heartbeat: { every: "5m", target: "whatsapp", prompt: "Ops check" },
|
heartbeat: { every: "5m", target: "whatsapp", prompt: "Ops check" },
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user