Versions 3 to 318
new file, 94 lines
7+
25+ for (const chunk of new StoredText(state, "entry:text").chunks(String(line))) length += chunk.length;
27+ assert.ok((database.db.prepare("SELECT MAX(length(value)) AS n FROM writer_state").get()!.n as number) < 100000);
28+ const before = database.db.prepare("SELECT * FROM writer_state ORDER BY namespace,collection,key,part").all();
29+ assert.throws(() => storeJson(state, "failed", ['{"line":"', "x".repeat(50000), '",oops}']), /JSON/);
36+
64+
76+
- MCP
- compare on this site's /mcp
- CLI
- abso diff 3 318 server/test/stored-json.test.ts --json
- JSON
- /christopher/abso-core/compare/3..318?file=server%2Ftest%2Fstored-json.test.ts&format=json