chore: ng-e2e-helpers suit alpha.14, et la mise a jour des paquets devient une tache

This commit is contained in:
Sylvain Duchesne
2026-09-21 10:52:07 +02:00
parent d0ca5c5d41
commit 4a4e6af337
9 changed files with 107 additions and 53 deletions
@@ -453,7 +453,11 @@ describe("useShapeQuery", () => {
// Upstream: "Setting value to `[]` or leaving it `undefined`, no objects are returned."
// It is an ANSWER, not a failure - and not the pending state either, which is what an
// application would otherwise be left staring at.
const obs = useShapeQuery(EventShape, {});
// `graphs` became REQUIRED in `@ng-org/orm@0.1.2-alpha.21`, so the "leaving it
// `undefined`" half of that sentence is no longer reachable by omitting the key. `[]`
// is the other half, and it is the one that still spells "empty" - `normalizeScope`
// maps both onto the same empty list, so this asks the same question it always did.
const obs = useShapeQuery(EventShape, { graphs: [] });
const unsub = obs.subscribe(() => {});
await tick();
await tick();