Skip to content

Commit 3c07cb8

Browse files
committed
test(app-shell): type the lock-error filter callback
Claude-Session: https://claude.ai/code/session_01J8VVAojjEQUUoMeSBSdgW4 Co-authored-by: Claude <noreply@anthropic.com>
1 parent db89400 commit 3c07cb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ afterEach(() => {
252252

253253
/** The `console.error` lines that name the record-lock read. */
254254
const lockErrorLines = () =>
255-
consoleError.mock.calls.filter((args) => args.some((a) => String(a).includes(LOCK_PATH)));
255+
consoleError.mock.calls.filter((args: unknown[]) => args.some((a) => String(a).includes(LOCK_PATH)));
256256

257257
describe('record page lock for a reader outside the approval (objectstack#25934)', () => {
258258
it('a non-participant on a record held by a locking approval is offered no inline edit', async () => {

0 commit comments

Comments
 (0)