Merge branch 'main' into cliente/tagumedica

This commit is contained in:
George committed 2026-10-20 15:46:41 -05:00
commit 72b3cd1d43
1 file changed
+3 -4
+3 -4
View File
@@ -79,9 +79,8 @@ describe('SapDbService', () => {
});
it('lista las consultas disponibles', async () => {
expect(await make({ query } as SapDbAdapter).available(user)).toEqual([
{ name: 'ping', title: expect.any(String) },
{ name: 'batch-stock', title: expect.any(String) },
]);
// las de la rama de un cliente se suman a las del base: se comprueba que estén las del base
const names = (await make({ query } as SapDbAdapter).available(user)).map((q) => q.name);
expect(names).toEqual(expect.arrayContaining(['ping', 'batch-stock']));
});
});