mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 11:36:05 +00:00
test(assistant): the catalog check lists the Dawarich tools too
A stay taken into a journal now has a card of its own, so ASTTOOL-001 looks for its tool; Dawarich's tools are listed only with its addon on, which the test now turns on beside the others.
This commit is contained in:
@@ -75,7 +75,8 @@ beforeAll(async () => {
|
||||
orm = app.get(MikroORM);
|
||||
registry = app.get(McpRegistryService);
|
||||
tools = app.get(AssistantToolsService);
|
||||
const addons = ['packing', 'budget', 'collections', 'journey', 'roadtrip'];
|
||||
// Dawarich too: a stay taken into a journal has a card of its own (the journal chat's).
|
||||
const addons = ['packing', 'budget', 'collections', 'journey', 'roadtrip', 'dawarich'];
|
||||
await Promise.all(addons.map((addon) => setAddonEnabled(orm, addon, true)));
|
||||
// The wanderer tools show only while the admin allows wanderer under Tours.
|
||||
await setAppSetting(orm, 'tours_wanderer_enabled', 'true');
|
||||
|
||||
Reference in New Issue
Block a user