АРЧ АП11 - Архитектура после регресса: Архитектура: сделать profile exact-ответы business-first и убрать служебный aggregate-пreamble
This commit is contained in:
@@ -628,9 +628,11 @@ describe("address compose stage utf8 headers", () => {
|
||||
}
|
||||
]);
|
||||
expect(reply.responseType).toBe("FACTUAL_SUMMARY");
|
||||
expect(reply.text).toContain("Профиль периодов базы собран");
|
||||
expect(reply.text).toContain("Коротко:");
|
||||
expect(reply.text).toContain("Самый активный год по документам: 2019 (1004).");
|
||||
expect(reply.text).toContain("Самый активный месяц по операциям: 2015-02 (1249).");
|
||||
expect(reply.text).not.toContain("Строк агрегата");
|
||||
expect(reply.text).not.toContain("movement-based aggregate");
|
||||
});
|
||||
|
||||
it("renders document type + account section profile summary", () => {
|
||||
@@ -685,10 +687,12 @@ describe("address compose stage utf8 headers", () => {
|
||||
}
|
||||
]);
|
||||
expect(reply.responseType).toBe("FACTUAL_SUMMARY");
|
||||
expect(reply.text).toContain("Профиль типов документов и разделов учета собран");
|
||||
expect(reply.text).toContain("Коротко:");
|
||||
expect(reply.text).toContain("Списание с расчетного счета: 2352");
|
||||
expect(reply.text).toContain("90 (Продажи): 2973");
|
||||
expect(reply.text).toContain("58 (Финансовые вложения): 2");
|
||||
expect(reply.text).not.toContain("Строк агрегата");
|
||||
expect(reply.text).not.toContain("movement-based aggregate");
|
||||
});
|
||||
|
||||
it("returns focused answer for active year question (without month block)", () => {
|
||||
|
||||
Reference in New Issue
Block a user