Skip to content

Commit d6ed12b

Browse files
committed
test(capture-kit): pin the default message for non-Error cleanup rejections
1 parent f0ef8fe commit d6ed12b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/capture-kit/src/app-log-runtime.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ test('app-log async disposal normalizes a rejected cleanup whose value has no st
137137
(error: unknown) =>
138138
error instanceof AppError &&
139139
error.details?.reason === 'cleanup-unconfirmed' &&
140+
error.message === 'Durable resource cleanup could not be confirmed' &&
140141
error.cause === rejection,
141142
);
142143
});

0 commit comments

Comments
 (0)