Skip to content

Commit 82e549b

Browse files
committed
style: prettier-format SeaOperationBackend + execution.test after queryTimeout removal
CI runs `prettier . --check` (not just eslint); the deadline-plumbing removal left two files needing a prettier reflow. Co-authored-by: Isaac Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
1 parent 11f0576 commit 82e549b

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

lib/sea/SeaOperationBackend.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,7 @@ export default class SeaOperationBackend implements IOperationBackend {
181181
// already-terminal statement. Drives both fetch and result-metadata.
182182
private fetchHandlePromise?: Promise<SeaFetchHandle>;
183183

184-
constructor({
185-
asyncStatement,
186-
statement,
187-
cancellableExecution,
188-
context,
189-
id,
190-
}: SeaOperationBackendOptions) {
184+
constructor({ asyncStatement, statement, cancellableExecution, context, id }: SeaOperationBackendOptions) {
191185
// Exactly one of the three handle kinds must be supplied.
192186
const providedCount =
193187
(asyncStatement !== undefined ? 1 : 0) +

tests/unit/sea/execution.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,6 @@ describe('SeaOperationBackend — async (submitStatement) path', () => {
10111011
expect((thrown as OperationStateError).errorCode).to.equal(OperationStateErrorCode.Closed);
10121012
});
10131013

1014-
10151014
it('cancel() forwards to the async statement and short-circuits a subsequent poll', async () => {
10161015
const stmt = new FakeAsyncStatement(['Running', 'Running', 'Succeeded']);
10171016
const op = makeAsyncOp(stmt);

0 commit comments

Comments
 (0)