diff --git a/packages/client/ui-message-feedback/src/client/controller.ts b/packages/client/ui-message-feedback/src/client/controller.ts index 4acc79db0a..8e793bc077 100644 --- a/packages/client/ui-message-feedback/src/client/controller.ts +++ b/packages/client/ui-message-feedback/src/client/controller.ts @@ -328,6 +328,7 @@ export class MessageFeedbackController implements HostObservable { }) it('preserves a non-Error list rejection as a diagnostic string', async () => { + // oxlint-disable-next-line typescript/prefer-promise-reject-errors -- the non-Error rejection is the scenario under test. const { remote } = fakeRemote({ list: () => Promise.reject('socket string') }) const controller = new MessageFeedbackController(remote, SESSION) @@ -355,6 +356,7 @@ describe('MessageFeedbackController', () => { }) it('preserves a non-Error mutation rejection as a diagnostic string', async () => { + // oxlint-disable-next-line typescript/prefer-promise-reject-errors -- the non-Error rejection is the scenario under test. const { remote } = fakeRemote({ put: () => Promise.reject('nope') }) const controller = new MessageFeedbackController(remote, SESSION)