Skip to content

Commit

Permalink
run tests on all /lib
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Feb 25, 2024
1 parent 6fc48ba commit 311e7f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/lib/actions/__tests__/continue.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { getRelationship } from "../../relationships";
import { type BgentRuntime } from "../../runtime";
import { Content, type Message } from "../../types";
import action from "../continue";
import ignore from "../ignore";
import { zeroUuid } from "../../constants";

dotenv.config({ path: ".dev.vars" });
Expand Down Expand Up @@ -51,7 +52,7 @@ describe("User Profile", () => {
beforeAll(async () => {
const setup = await createRuntime({
env: process.env as Record<string, string>,
actions: [action],
actions: [action, ignore],
});
user = setup.session.user;
runtime = setup.runtime;
Expand Down
6 changes: 2 additions & 4 deletions src/lib/evaluators.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { names, uniqueNamesGenerator } from "unique-names-generator";
import fact from "./evaluators/fact";
import goal from "./evaluators/goal";
import { ActionExample, type Evaluator } from "./types";

export const defaultEvaluators: Evaluator[] = [
fact,
// goal,
];
export const defaultEvaluators: Evaluator[] = [fact, goal];

/**
* Template used for the evaluation completion.
Expand Down

0 comments on commit 311e7f5

Please sign in to comment.