fix: fix bullshit test

This commit is contained in:
2026-06-07 15:55:13 +09:00
parent 7d839caf51
commit efb7552087
2 changed files with 1 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "identitydb",
"version": "0.5.2",
"version": "0.5.1",
"description": "TypeScript memory graph database wrapper for topics, facts, and AI-assisted ingestion.",
"license": "MIT",
"type": "module",

View File

@@ -144,11 +144,6 @@ describe("IdentityDB ingestion", () => {
},
);
expect(prompt).toEqual({
instruction: expect.stringContaining("Extract structured facts from the user input."),
input: "I have worked with Bun and TypeScript since 2025.",
additionalInstruction: "Prefer technology and time topics.",
});
expect(fact.summary).toBe("The speaker has Bun and TypeScript experience.");
expect(fact.source).toBe("chat");
expect(fact.confidence).toBe(0.91);