feat: add log clearing functionality to turn test harness and enhance NPC simulation logging
This commit is contained in:
@@ -185,6 +185,7 @@ export const createTurnTestHarness = async (options: TurnTestHarnessOptions) =>
|
||||
runOneTick,
|
||||
runUntil,
|
||||
getCollectedLogs: () => [...collectedLogs],
|
||||
getAndClearCollectedLogs: () => collectedLogs.splice(0, collectedLogs.length),
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user