Skip to content

Commit 1354e3e

Browse files
fix(app-shell): a record discussion the row budget declines is not shown as empty (#39287)
Fixes #39272 Clause-②: no Metadata-protocol: none ## 维护者速读 - 在只设了单次读取行数上限、没设分页大小的部署上,评论数超过上限的记录:记录页评论面板、列表页评论和手机评论页以前显示「还没有评论」,现在显示已有的「无法加载此记录的评论」提示,评论图标不再显示数字。 - 属于记录评论专题,替在这类部署上查看评论的用户解决「以为没人留言」的误导。 - 只影响评论读取被行数上限拒绝的那一种情况;出错时最坏是该提示多显示,改动可直接撤回。 - 无 ## What changes On a deployment with a row budget (`OS_DATA_QUERY_ROW_BUDGET`) and no page size, a record's discussion is one unpaged read, and a record with more comments than the budget is refused `400 QUERY_ROW_BUDGET_EXCEEDED`. `feedReadVerdictOf` mapped that first-page 400 to `answered`, so `readComments` recorded an answered read with no rows and every discussion surface drew "No comments yet" (premise re-read on `main` at ee2be20: holds). - `ui/packages/app-shell/src/views/useRecordDiscussion.ts`: a fourth `FeedReadVerdict`, `declined`, for the row budget's refusal, named by the server's code (read through `answeredLoadFailure`, so a code the client lifts and a code parked in the envelope both count). Any other 400 stays `answered`. `readEveryPage` still ends paging on a LATER page the budget declines, so the pages read stand as before. - The panel components that render the discussion's empty / failed state (named in this body at PR creation, after the edits, not before them as the claim asked; L1 found the files within the claim's delegation): the two hosts that turn the verdict into the panel's `DiscussionContextProvider` props. - `RecordDetailView.tsx` (record page): `commentsFailed` is true for `declined` as for `failed`; the header comments icon names no count; no Retry (it would send the same read). - `objectViewCommentsShared.tsx` (list-page comments column and phone comments page): `commentsFailed` true for `declined`, no Retry. - Wording: no new text. The panel reuses its existing failure notice, `detail.commentsLoadFailed` ("We couldn't load the comments for this record."), drawn by plugin-detail's `CommentsPanel` / `CommentsPage`, which are unchanged. The Retry button there is only drawn when the host passes `onRetryFeed`, which stays `failed`-only. - Reactions (decided: out, no signal). A reaction read the budget declines is caught and the comments show without reactions, exactly as a failed (5xx) reaction read already does. A signal would need new user-facing wording with no precedent in the panel (there is no reactions-could-not-load key), so it is not added here; a test pins the current behaviour. ## Tests Run at 376f45c, from `ui/` under the shared verify lock: `pnpm exec vitest run --maxWorkers=2` over the three files below. Result: `Test Files 3 passed (3)`, `Tests 44 passed (44)`. - `useRecordDiscussion.test.tsx`, new describe: a first-page budget refusal records `declined` with no rows and one read. CONTROL: any other 400 stays answered. A budget-declined reaction read keeps the comments without reactions. - `RecordDetailView.feedLoadFailure-29188.test.tsx` (the record page's shared failure harness, through the real `ObjectStackAdapter`), new describe: - a declined page-payload discussion part shows the failure note with no Retry and no icon count; - a direct `sys_comment` GET answering `400 QUERY_ROW_BUDGET_EXCEEDED` shows the same note. This case shows that the real client carries the code. - `ObjectView.phoneCommentsPage-39086.test.tsx` (phone page harness), new describe: with a row budget smaller than the discussion and no page size, the page says the comments could not be loaded, draws no empty state and no Retry, and does not judge the linked thread gone. The harness's budget refusal now carries the server's `code`, so the existing later-page case (#39195) runs through the new `declined` branch of `readEveryPage` and stays green. <details><summary>Ablation (feedReadVerdictOf's declined line replaced, via scripts/ablation-replace.mjs)</summary> ``` ablation-replace: ok mutation landed: anchor 1 -> 0, blob 41804c2 -> bc1c76cbfce4 × a declined discussion part shows the load-failure notice, no Retry, no count × a declined direct sys_comment read shows the same notice × records a comment read the row budget declines as declined, not as answered with no rows × says the comments could not be loaded, with no Retry, and stays on the thread Test Files 3 failed (3) Tests 4 failed | 40 passed (44) ablation-replace: ok restored: blob == HEAD (41804c2) and `git diff HEAD` is empty ``` </details> <details><summary>Type-check and gates</summary> - `pnpm --filter @object-ui/app-shell type-check` (both `tsc --noEmit` and `tsconfig.test.json`): exit 0, 0 errors. - `dispatch-gates --ran`: `39 derived famil(ies) accounted for — 37 run, 2 NOT-MEASURED`. All 37 that were run exited 0. - NOT MEASURED, left to CI: `pnpm --dir ui exec vitest run scripts/` (no `ui/scripts` file touched) and `pnpm check:query-options-erasure`. Both are timeout kills on the shared box (exit 124), not gate refusals. - `overlap-check.mjs`: `VERDICT clean exit 0` against origin/main d0c7b71, with 0 open PR heads sharing a file. </details> ## Acceptance notes - The `sys_activity` read shares `feedReadVerdictOf`, so an activity read the budget declines now records `declined` too. The activity panel maps only `refused` / `failed`, so what it draws is unchanged. Its reads are `$top`-bounded windows, so the budget reaches them only when it is below that window. This is not wired, and it is not filed. - A comment re-read that later answers clears `declined`, as it clears `refused` / `failed`. ## Verification Files to read first, ordered by risk: 1. `useRecordDiscussion.ts`: `feedReadVerdictOf` and the `readEveryPage` break. 2. `RecordDetailView.tsx`: the `commentsCount` and `commentsFailed` hunks. 3. `objectViewCommentsShared.tsx`. Two-minute check: `cd ui && pnpm exec vitest run packages/app-shell/src/views/RecordDetailView.feedLoadFailure-29188.test.tsx -t 39272`. Expect 2 passed. --- _Generated by [Claude Code](https://claude.ai/code/session_01Utp6Ca2yTZZiHWkyVgD2oK)_ <!-- signed: repo:objectstack@os-bill · os-bill · session_01Utp6Ca2yTZZiHWkyVgD2oK --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 22f2639 commit 1354e3e

7 files changed

Lines changed: 200 additions & 18 deletions
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
---
4+
5+
fix(app-shell): a record discussion the row budget declines says the comments could not be loaded, not that there are none
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
On a deployment with a row budget (`OS_DATA_QUERY_ROW_BUDGET`) and no page size, a record's discussion is read in one request, and a record with more comments than the budget is refused with `400 QUERY_ROW_BUDGET_EXCEEDED`. The discussion read recorded that refusal as an answered read with no rows, so the comment panel on the record page, the list page's comments and the phone comments page showed "No comments yet". The read now records a `declined` verdict, and those surfaces show the existing "We couldn't load the comments for this record." notice instead, with no Retry (it would send the same read), and the record header's comments icon names no count. Any other `400` on the read is unchanged. A reaction read the budget declines still leaves the comments shown without reactions, as a failed reaction read does.

‎ui/packages/app-shell/src/views/ObjectView.phoneCommentsPage-39086.test.tsx‎

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ afterEach(() => {
167167
try { window.localStorage.removeItem(VIEW_COMMENTS_OPEN_KEY); } catch { /* none */ }
168168
});
169169

170+
/** The client's rejection of a read past the deployment's row budget: the server's code and status. */
171+
const rowBudgetRefusal = () =>
172+
Object.assign(new Error('HTTP 400 QUERY_ROW_BUDGET_EXCEEDED'), { status: 400, code: 'QUERY_ROW_BUDGET_EXCEEDED' });
173+
170174
function mount(opts: {
171175
enable?: Record<string, unknown>;
172176
door?: boolean;
@@ -175,7 +179,10 @@ function mount(opts: {
175179
threads?: unknown;
176180
/** The deployment's data page size: a read naming no `$top` gets this many rows and `hasMore`. */
177181
pageCap?: number;
178-
/** The deployment's row budget: a read whose `$skip` plus `$top` walks past it is refused with a 400. */
182+
/**
183+
* The deployment's row budget: a read whose `$skip` plus `$top` walks past it is refused with a 400;
184+
* with no page size, a read naming no page is the whole set, refused whole when it is longer.
185+
*/
179186
rowBudget?: number;
180187
} = {}) {
181188
const object = taskObject(opts.enable);
@@ -185,13 +192,14 @@ function mount(opts: {
185192
const find = vi.fn(async (resource: string, params?: { $top?: number; $skip?: number }) => {
186193
if (resource === 'tracker_task') return { data: ROWS, total: ROWS.length };
187194
if (resource === 'sys_comment') {
188-
if (opts.pageCap === undefined) return { data: discussion };
195+
if (opts.pageCap === undefined) {
196+
if (opts.rowBudget !== undefined && discussion.length > opts.rowBudget) throw rowBudgetRefusal();
197+
return { data: discussion };
198+
}
189199
const skip = params?.$skip ?? 0;
190200
const top = params?.$top ?? opts.pageCap;
191201
if (top > opts.pageCap) throw Object.assign(new Error('HTTP 400 MAX_RECORDS_EXCEEDED'), { status: 400 });
192-
if (opts.rowBudget !== undefined && skip + top > opts.rowBudget) {
193-
throw Object.assign(new Error('HTTP 400 QUERY_ROW_BUDGET_EXCEEDED'), { status: 400 });
194-
}
202+
if (opts.rowBudget !== undefined && skip + top > opts.rowBudget) throw rowBudgetRefusal();
195203
const data = discussion.slice(skip, skip + top);
196204
return { data, total: discussion.length, hasMore: skip + data.length < discussion.length };
197205
}
@@ -488,3 +496,22 @@ describe('objectstack#39195 — a thread past the first page of its record discu
488496
expect(new URLSearchParams(href().split('?')[1]).get('comments')).toBe('');
489497
});
490498
});
499+
500+
/**
501+
* objectstack#39272 — on a deployment with a row budget and no page size, a
502+
* record's discussion longer than the budget is refused whole. The page says
503+
* the comments could not be loaded, never that there are none.
504+
*/
505+
describe('objectstack#39272 — a discussion longer than the row budget, with no page size', () => {
506+
it('says the comments could not be loaded, with no Retry, and stays on the thread', async () => {
507+
const { findOne } = mount({ search: '?comments=c1&commentsRecord=t1', rowBudget: 1 });
508+
await waitFor(() => expect(threadPage()?.textContent).toContain("We couldn't load the comments for this record."), { timeout: 5000 });
509+
await settle();
510+
expect(threadPage()!.querySelector('[data-comments-empty]')).toBeNull();
511+
expect(threadPage()!.textContent).not.toContain('No comments yet');
512+
expect(within(threadPage()!).queryByRole('button', { name: 'Retry' })).toBeNull();
513+
// A declined read says nothing about the thread: it is not judged gone.
514+
expect(findOne).not.toHaveBeenCalledWith('sys_comment', 'c1');
515+
expect(new URLSearchParams(href().split('?')[1]).get('comments')).toBe('c1');
516+
});
517+
});

‎ui/packages/app-shell/src/views/RecordDetailView.feedLoadFailure-29188.test.tsx‎

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
* 5. a refusal (403) keeps its no-permission state and offers no Retry;
2727
* 6. attachments: a 500 on the payload's attachments part shows the panel's
2828
* own load-failure state with a Retry and leaves the badge's count
29-
* unknown (main already did; pinned, no attachments code changed).
29+
* unknown (main already did; pinned, no attachments code changed);
30+
* 7. objectstack#39272: a comments read the deployment's row budget declines
31+
* (`400 QUERY_ROW_BUDGET_EXCEEDED`) shows the same notice, with no Retry
32+
* and no count.
3033
*
3134
* The rig is `RecordDetailView.recordOpenOneRequest-28470.test.tsx`'s.
3235
*/
@@ -101,12 +104,20 @@ interface Answers {
101104
attachments?: unknown;
102105
/** Objects whose direct GET answers 500; `object@record` limits it to that record's thread. */
103106
failGet?: string[];
107+
/** Objects whose direct GET the deployment's row budget declines: `400 QUERY_ROW_BUDGET_EXCEEDED`. */
108+
declineGet?: string[];
104109
/** Answers for one record's page read, over the rest (objectstack#30145). */
105110
byRecord?: Record<string, Pick<Answers, 'activity' | 'discussion' | 'attachments'>>;
106111
}
107112

108113
interface Held { method: string; path: string; body: any; released: boolean; release: () => void }
109114

115+
/** The server's answer to a read that walks past the deployment's row budget, as the data door sends it. */
116+
const ROW_BUDGET_REFUSAL = {
117+
success: false,
118+
error: { code: 'QUERY_ROW_BUDGET_EXCEEDED', message: 'This read walks 3 rows, over the row budget of 2. Read it in pages with limit and offset.' },
119+
};
120+
110121
const json = (body: unknown) =>
111122
new Response(JSON.stringify(body), { status: 200, headers: { 'content-type': 'application/json' } });
112123

@@ -162,7 +173,7 @@ function heldTransport(answers: Answers) {
162173
method, path,
163174
body: typeof init?.body === 'string' ? JSON.parse(init.body) : undefined,
164175
released: false,
165-
release: () => { if (h.released) return; h.released = true; const fail = (answers.failGet ?? []).some((spec) => { const [o, rec] = spec.split('@'); return method === 'GET' && path.startsWith(`/api/v1/data/${o}?`) && (!rec || path.includes(`${OBJECT}:${rec}`)); }); resolve(fail ? new Response(JSON.stringify({ success: false, error: { code: 'DATABASE_ERROR', message: 'db down' } }), { status: 500, headers: { 'content-type': 'application/json' } }) : json(answerFor(h, answers))); },
176+
release: () => { if (h.released) return; h.released = true; const fail = (answers.failGet ?? []).some((spec) => { const [o, rec] = spec.split('@'); return method === 'GET' && path.startsWith(`/api/v1/data/${o}?`) && (!rec || path.includes(`${OBJECT}:${rec}`)); }); const declined = (answers.declineGet ?? []).some((o) => method === 'GET' && path.startsWith(`/api/v1/data/${o}?`)); resolve(fail ? new Response(JSON.stringify({ success: false, error: { code: 'DATABASE_ERROR', message: 'db down' } }), { status: 500, headers: { 'content-type': 'application/json' } }) : declined ? new Response(JSON.stringify(ROW_BUDGET_REFUSAL), { status: 400, headers: { 'content-type': 'application/json' } }) : json(answerFor(h, answers))); },
166177
};
167178
held.push(h);
168179
});
@@ -395,6 +406,43 @@ describe('objectstack#29188 — controls', () => {
395406
});
396407
});
397408

409+
/**
410+
* objectstack#39272 — on a deployment with a row budget and no page size, the
411+
* discussion is read whole, and a record whose comments are more than the
412+
* budget is refused (`400 QUERY_ROW_BUDGET_EXCEEDED`). That is not "no
413+
* comments": the panel says the comments could not be loaded, with no Retry
414+
* (it would send the same read), and the icon names no count.
415+
*/
416+
describe('objectstack#39272 — a discussion longer than the row budget is not an empty one', () => {
417+
it('a declined discussion part shows the load-failure notice, no Retry, no count', async () => {
418+
const { held, open } = await boot({
419+
discussion: { error: { ...ROW_BUDGET_REFUSAL.error, status: 400 } },
420+
activity: NO_ACTIVITY,
421+
});
422+
const view = open();
423+
await settle(held);
424+
expect(commentsCount(view.container)).toBeNull();
425+
const panel = await commentsPanelOf(view.container, held);
426+
expect(commentsNote(panel)).toBe('failed');
427+
expect(panel.textContent).toContain(COMMENTS_FAILED);
428+
expect(panelEmpty(panel)).toBe(false);
429+
expect(panelRetry(panel)).toBeNull();
430+
expect(retryButton(view.container)).toBeNull();
431+
});
432+
433+
it('a declined direct sys_comment read shows the same notice', async () => {
434+
const { held, open } = await bootDirect({ declineGet: ['sys_comment'] });
435+
const view = open();
436+
await settle(held);
437+
expect(commentsCount(view.container)).toBeNull();
438+
const panel = await commentsPanelOf(view.container, held);
439+
expect(commentsNote(panel)).toBe('failed');
440+
expect(panel.textContent).toContain(COMMENTS_FAILED);
441+
expect(panelEmpty(panel)).toBe(false);
442+
expect(panelRetry(panel)).toBeNull();
443+
});
444+
});
445+
398446
describe('objectstack#29188 — attachments (pin: main already shows the failure)', () => {
399447
it('a 500 attachments part shows the panel\'s load-failure state with a Retry, and no count', async () => {
400448
// objectstack#35595 — the panel is the 附件 tab's face.

‎ui/packages/app-shell/src/views/RecordDetailView.tsx‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3471,10 +3471,12 @@ export function RecordDetailView({ dataSource, objects, onEdit, objectNameOverri
34713471
: null;
34723472
// The comments icon's number: the record's unresolved threads (#36075 item
34733473
// 8; every thread where the deployment stores no resolution), unknown while
3474-
// the read was refused or failed.
3474+
// the read was refused, failed or declined (the row budget).
34753475
const commentThreadCount = useMemo(() => unresolvedThreadCount(buildCommentThreads(feedItems)), [feedItems]);
34763476
const commentsCount =
3477-
commentsVerdict === 'refused' || commentsVerdict === 'failed' ? null : commentThreadCount;
3477+
commentsVerdict === 'refused' || commentsVerdict === 'failed' || commentsVerdict === 'declined'
3478+
? null
3479+
: commentThreadCount;
34783480
const commentsButton = commentsPanelOffered ? (
34793481
<CommentsButton count={commentsCount} pressed={commentsOpen} onPressedChange={setCommentsOpen} />
34803482
) : null;
@@ -5176,7 +5178,9 @@ export function RecordDetailView({ dataSource, objects, onEdit, objectNameOverri
51765178
activityDenied={activityVerdict === 'refused'}
51775179
commentsDenied={commentsVerdict === 'refused'}
51785180
activityFailed={activityVerdict === 'failed'}
5179-
commentsFailed={commentsVerdict === 'failed'}
5181+
// A read the row budget declined could not be loaded either; it
5182+
// offers no Retry, which would send the same read.
5183+
commentsFailed={commentsVerdict === 'failed' || commentsVerdict === 'declined'}
51805184
onRetryFeed={activityVerdict === 'failed' || commentsVerdict === 'failed' ? handleRetryFeed : undefined}
51815185
// The comment writes and the two record verdicts, each handed out by
51825186
// the discussion unit only where its grant allows it (objectui#12082).

‎ui/packages/app-shell/src/views/objectViewCommentsShared.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,9 @@ export function ViewRecordDiscussion({
162162
items={discussion.items as DiscussionContextValue['items']}
163163
loading={reading}
164164
commentsDenied={verdict === 'refused'}
165-
commentsFailed={verdict === 'failed'}
165+
// A read the row budget declined could not be loaded either; no Retry,
166+
// which would send the same read.
167+
commentsFailed={verdict === 'failed' || verdict === 'declined'}
166168
onRetryFeed={verdict === 'failed' ? () => setReads((n) => n + 1) : undefined}
167169
onAddReply={discussion.onAddReply as DiscussionContextValue['onAddReply']}
168170
onEditComment={discussion.onEditComment}

‎ui/packages/app-shell/src/views/useRecordDiscussion.test.tsx‎

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,3 +285,77 @@ describe('useRecordDiscussion — reactions past the deployment page cap', () =>
285285
expect(reactionsOf(result.current.items, 'c-2')).toBeUndefined();
286286
});
287287
});
288+
289+
/**
290+
* objectstack#39272 — a deployment with a row budget and no page size answers
291+
* a read that names no page with the whole set, and refuses a set longer than
292+
* the budget whole (`400 QUERY_ROW_BUDGET_EXCEEDED`). The comment read records
293+
* that as `declined`, never as an answered read with no rows.
294+
*/
295+
describe('useRecordDiscussion — a discussion longer than the row budget, with no page size', () => {
296+
const ROW_BUDGET = 2;
297+
const COMMENTS = [
298+
{ id: 'c-1', thread_id: `${OBJECT_NAME}:a`, author_id: 'u2', author_name: 'Grace', body: 'First', created_at: '2026-01-01T10:00:00Z' },
299+
{ id: 'c-2', thread_id: `${OBJECT_NAME}:a`, author_id: 'u2', author_name: 'Grace', body: 'Second', created_at: '2026-01-01T10:01:00Z' },
300+
];
301+
const REACTIONS = [
302+
{ id: 'r-1', comment_id: 'c-1', user_id: 'u2', emoji: '👍', created_at: '2026-01-01T10:02:00Z' },
303+
{ id: 'r-2', comment_id: 'c-1', user_id: 'u3', emoji: '👍', created_at: '2026-01-01T10:02:00Z' },
304+
{ id: 'r-3', comment_id: 'c-2', user_id: 'u2', emoji: '🎉', created_at: '2026-01-01T10:03:00Z' },
305+
];
306+
307+
/** The client's rejection of a `400` the server named by `code`, as the ObjectStack client throws it. */
308+
const answered400 = (code: string) =>
309+
Object.assign(new Error(`${code}: the read was declined`), { code, httpStatus: 400 });
310+
311+
/** No page size: each read is the whole set, declined whole past the row budget, or with `code` when named. */
312+
function makeBudgetedDataSource(comments: Array<Record<string, unknown>>, code = 'QUERY_ROW_BUDGET_EXCEEDED') {
313+
const whole = (rows: Array<Record<string, unknown>>) => {
314+
if (rows.length > ROW_BUDGET) throw answered400(code);
315+
return { data: rows, total: rows.length, hasMore: false };
316+
};
317+
return {
318+
find: vi.fn(async (object: string) => {
319+
if (object === 'sys_comment') return whole(comments);
320+
if (object === 'sys_comment_reaction') return whole(REACTIONS);
321+
return { data: [] };
322+
}),
323+
create: vi.fn(async (_object: string, data: Record<string, unknown>) => data),
324+
update: vi.fn(async () => ({})),
325+
delete: vi.fn(async () => true),
326+
};
327+
}
328+
329+
it('records a comment read the row budget declines as declined, not as answered with no rows', async () => {
330+
const ds = makeBudgetedDataSource([...COMMENTS, { ...COMMENTS[1], id: 'c-3', body: 'Third' }]);
331+
const { result } = renderHook(() => useRecordDiscussion(inputFor(ds, 'a')), { wrapper });
332+
await act(async () => {
333+
await result.current.readComments(null);
334+
});
335+
expect(result.current.commentsVerdict).toBe('declined');
336+
expect(result.current.items).toEqual([]);
337+
// Read once: no page to walk, and nothing retried.
338+
expect(ds.find.mock.calls.filter(([object]) => object === 'sys_comment')).toHaveLength(1);
339+
});
340+
341+
it('CONTROL: any other 400 on the comment read stays an answered read', async () => {
342+
const ds = makeBudgetedDataSource([...COMMENTS, { ...COMMENTS[1], id: 'c-3', body: 'Third' }], 'INVALID_QUERY');
343+
const { result } = renderHook(() => useRecordDiscussion(inputFor(ds, 'a')), { wrapper });
344+
await act(async () => {
345+
await result.current.readComments(null);
346+
});
347+
expect(result.current.commentsVerdict).toBeUndefined();
348+
});
349+
350+
it('shows the comments without reactions when the row budget declines the reaction read', async () => {
351+
const ds = makeBudgetedDataSource(COMMENTS);
352+
const { result } = renderHook(() => useRecordDiscussion(inputFor(ds, 'a')), { wrapper });
353+
await act(async () => {
354+
await result.current.readComments(null);
355+
});
356+
await waitFor(() => expect(bodies(result.current.items)).toEqual(['First', 'Second']));
357+
expect(ds.find.mock.calls.some(([object]) => object === 'sys_comment_reaction')).toBe(true);
358+
expect(result.current.items.every((item) => item.reactions === undefined)).toBe(true);
359+
expect(result.current.commentsVerdict).toBeUndefined();
360+
});
361+
});

0 commit comments

Comments
 (0)