From 0f5b66552e36b37e502e8c1a0d345b174b9b617e Mon Sep 17 00:00:00 2001 From: moon Date: Fri, 1 Mar 2024 21:54:34 -0700 Subject: [PATCH] Fix message log, add index to tests --- package.json | 2 +- src/index.ts | 1 - src/lib/__tests__/messages.test.ts | 1 - src/test/index.ts | 9 +++++++++ 4 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 src/test/index.ts diff --git a/package.json b/package.json index 8715073..d4780fa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bgent", - "version": "0.0.24", + "version": "0.0.25", "private": false, "description": "bgent. because agent was taken.", "type": "module", diff --git a/src/index.ts b/src/index.ts index 843e35e..8cd5167 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,2 +1 @@ export * from "./lib"; -export * from "./agents"; diff --git a/src/lib/__tests__/messages.test.ts b/src/lib/__tests__/messages.test.ts index 5a0333f..265acd4 100644 --- a/src/lib/__tests__/messages.test.ts +++ b/src/lib/__tests__/messages.test.ts @@ -37,7 +37,6 @@ describe("Messages Library", () => { test("formatActors should format actors into a readable string", () => { const formattedActors = formatActors({ actors }); actors.forEach((actor) => { - console.log("ACTOR IS", actor) expect(formattedActors).toContain(actor.name); }); }); diff --git a/src/test/index.ts b/src/test/index.ts new file mode 100644 index 0000000..7ca8a65 --- /dev/null +++ b/src/test/index.ts @@ -0,0 +1,9 @@ +export * from "./cache"; +export * from "./constants"; +export * from "./createRuntime"; +export * from "./data"; +export * from "./populateMemories"; +export * from "./runAiTest"; +export * from "./report"; +export * from "./testAction"; +export * from "./testEvaluator";