Skip to content

Commit 340e070

Browse files
committed
test(dogfood): read the served view label from the /meta item envelope
Claude-Session: https://claude.ai/code/session_01ADHkmTKKCrTrtA7H6oSj28 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9e4773d commit 340e070

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/qa/dogfood/test/package-commit-revert-path-package.dogfood.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,9 @@ describe('dogfood: package commit revert and rollback act only on a commit of th
203203

204204
it('[#29390] the showcase\'s commits recorded before the close: an edited item\'s revert is refused naming the pair, a created one\'s still removes it', async () => {
205205
const protocol = (stack.kernel as any).getService('protocol');
206-
const served = async () => (await call('GET', `/meta/view/${OVERLAY}`)).json?.data?.item?.label;
206+
const served = async () => (await call('GET', `/meta/view/${OVERLAY}`)).json?.item?.label;
207207
const shipped = await served();
208+
expect(typeof shipped).toBe('string');
208209
const view = (label: string) => ({
209210
name: OVERLAY, object: 'showcase_task', viewKind: 'list', label,
210211
config: { type: 'grid', columns: [{ field: 'title' }] },

0 commit comments

Comments
 (0)