mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
test fix
This commit is contained in:
parent
05f3887746
commit
ad3baa88d2
2 changed files with 2 additions and 2 deletions
|
|
@ -781,7 +781,7 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
|
|||
|
||||
// Run asynchronously to allow awaiting mode switch before sending the message
|
||||
void (async () => {
|
||||
// If a mode slug is provided, handle the mode switch first (same behavior as initClineWithTask)
|
||||
// If a mode slug is provided, handle the mode switch first (same behavior as createTask)
|
||||
try {
|
||||
const modeSlugValue = (modeSlug ?? "").trim()
|
||||
if (modeSlugValue.length > 0) {
|
||||
|
|
|
|||
|
|
@ -2278,7 +2278,7 @@ describe("Bridge modeSlug handling", () => {
|
|||
} as any)
|
||||
|
||||
// Pass modeSlug through the options object (as provided by the bridge package)
|
||||
await provider.initClineWithTask("Started from bridge", undefined, undefined, {
|
||||
await provider.createTask("Started from bridge", undefined, undefined, {
|
||||
experiments: {},
|
||||
modeSlug: "architect",
|
||||
} as any)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue