mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
fix(ci): preserve cross-platform lint suppressions
This commit is contained in:
@@ -328,6 +328,7 @@ export class MessageFeedbackController implements HostObservable<MessageFeedback
|
||||
if (!loaded.ok) return loaded
|
||||
// Disposal can land while the seeding read is in flight; without this
|
||||
// second check the fiber would still reach the wire after unloading.
|
||||
// oxlint-disable-next-line typescript/no-unnecessary-condition -- dispose() can run during the await.
|
||||
if (this.disposed) return DISPOSED
|
||||
}
|
||||
try {
|
||||
|
||||
@@ -345,6 +345,7 @@ describe('MessageFeedbackController', () => {
|
||||
})
|
||||
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user