diff --git a/packages/cli/tests/__snapshots__/printer.test.ts.snap b/packages/cli/tests/__snapshots__/printer.test.ts.snap index f4ed4a758..df5b2fb02 100644 --- a/packages/cli/tests/__snapshots__/printer.test.ts.snap +++ b/packages/cli/tests/__snapshots__/printer.test.ts.snap @@ -1,7 +1,7 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`printer > action brief text 1`] = `"aiAction: search for w..."`; +exports[`printer > action brief text 1`] = `"aiAction: search for weather"`; exports[`printer > action brief text 2`] = `"sleep: 1000"`; -exports[`printer > action brief text 3`] = `"aiWaitFor: wait for som..."`; +exports[`printer > action brief text 3`] = `"aiWaitFor: wait for something"`; diff --git a/packages/cli/tests/yaml.test.ts b/packages/cli/tests/yaml.test.ts index de6eb0daa..f95eeee48 100644 --- a/packages/cli/tests/yaml.test.ts +++ b/packages/cli/tests/yaml.test.ts @@ -7,7 +7,7 @@ import { assert, describe, expect, test, vi } from 'vitest'; const runYaml = async (yamlString: string) => { const script = loadYamlScript(yamlString); const player = new ScriptPlayer(script); - await player.play(); + await player.run(); assert( player.status === 'done', player.errorInSetup?.message || 'unknown error',