fix: integrate people archive, report reader and western chart corrections
Validate on Linux Node 22 and PostgreSQL 17: 3894 frontend tests and 64 database tests pass, with no removed test names or new failures. Preserve static Home, bounded gzip, assertion-change records and manual acceptance gaps. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -50,6 +50,16 @@ test("or() compiles the session cursor filter with a nested and", () => {
|
||||
assert.match(listRoute, /pageQuery = pageQuery\.or\(sessionCursorFilter\(cursor\)\)/);
|
||||
});
|
||||
|
||||
test("or() compiles null and boolean IS without binding them as strings", () => {
|
||||
const parameters: unknown[] = [];
|
||||
assert.equal(compilePostgrestOr("chart_profile_id.is.null,chart_profile_id.eq.self", parameters, new Map()),
|
||||
'("chart_profile_id" is null or "chart_profile_id" = $1)');
|
||||
assert.deepEqual(parameters, ["self"]);
|
||||
assert.equal(compilePostgrestOr("enabled.is.true,enabled.is.false", [], new Map()),
|
||||
'("enabled" is true or "enabled" is false)');
|
||||
assert.throws(() => compilePostgrestOr("enabled.is.anything", [], new Map()));
|
||||
});
|
||||
|
||||
test("session list empty-consultation filter is session_type scoped", () => {
|
||||
assert.match(listFilter, /session_type\.neq\.consultation,messages\.neq\.\[\]/);
|
||||
assert.match(listRoute, /excludeEmptyConsultations/);
|
||||
|
||||
Reference in New Issue
Block a user