style: ASCII dans les lignes ecrites pour cette tache
This commit is contained in:
@@ -192,7 +192,7 @@ let sessionResolve!: (s: BrokerSession) => void;
|
||||
const sessionReady = new Promise<BrokerSession>((r) => (sessionResolve = r));
|
||||
|
||||
// The injected `useShape`, so the lib's read-filtered view can be exercised WITHOUT a
|
||||
// React tree. It is `test/use-shape-fake.ts` — the ONE fake in this repository that
|
||||
// React tree. It is `test/use-shape-fake.ts` - the ONE fake in this repository that
|
||||
// returns the shape `@ng-org/orm`'s hook really ships, read off the installed package's
|
||||
// own `.d.ts`. This page used to carry a hand-written Set-like of its own, which is
|
||||
// exactly why the capability filter could hand three members of that envelope back raw
|
||||
@@ -1102,7 +1102,7 @@ const identity = new IdentityStore(
|
||||
// the cap is proven on the read paths, not here.
|
||||
setCurrentUser("stranger");
|
||||
const strangerView = read();
|
||||
// …and the SDK's own handle is refused outright, whoever asks: it reads and writes
|
||||
// and the SDK's own handle is refused outright, whoever asks: it reads and writes
|
||||
// with no capability filter at all.
|
||||
let subscriptionRefused: string | null = null;
|
||||
try {
|
||||
|
||||
@@ -550,7 +550,7 @@ async function main(): Promise<void> {
|
||||
);
|
||||
// The three views above are read off `data`, one of the three members of the SDK's
|
||||
// result envelope that carry the items. The fourth way in is the ORM's own handle,
|
||||
// which reads and writes with no capability filter at all — so it is refused rather
|
||||
// which reads and writes with no capability filter at all, so it is refused rather
|
||||
// than handed on, and that refusal is checked here rather than assumed.
|
||||
check(
|
||||
"the read-filtered view refuses the ORM's own subscription handle",
|
||||
|
||||
Reference in New Issue
Block a user