Skip to content

Commit b929460

Browse files
committed
test(app-shell): served-label test fake answers withPreviewDrafts
Claude-Session: https://claude.ai/code/session_01JQwxbZMgz2QbrsLJv3RD41 Co-Authored-By: Claude <noreply@anthropic.com>
1 parent bacb157 commit b929460

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎ui/packages/app-shell/src/views/metadata-admin/PermissionMatrixEditor.servedLabel-26884.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ function makeClient(server: Server) {
4040
return {
4141
layered: async () => ({ effective: server.set, code: null, overlay: null, overlayScope: null }),
4242
getDraft: async () => null,
43+
// objectstack#26840 — the package door reads its objects through the draft-overlaid door.
44+
withPreviewDrafts() { return this; },
4345
list: async (type: string) => {
4446
if (type === 'object') return [{ item: { name: 'a_account' } }];
4547
if (type === 'permission') return server.served;

0 commit comments

Comments
 (0)