Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Nov 14, 2023
1 parent 51cc273 commit a88346c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
12 changes: 6 additions & 6 deletions packages/vscode-common/src/TestHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import type {
IDE,
NormalizedIDE,
ScopeProvider,
SerializedMarks, TargetPlainObject,
SerializedMarks,
TargetPlainObject,
TestCaseSnapshot,
TextEditor
TextEditor,
} from "@cursorless/common";
import * as vscode from "vscode";
import {VscodeApi} from "./VscodeApi";

import { VscodeApi } from "./VscodeApi";

export interface TestHelpers {
ide: NormalizedIDE;
Expand All @@ -29,7 +29,7 @@ export interface TestHelpers {
setStoredTarget(
editor: vscode.TextEditor,
key: string,
targets: TargetPlainObject[] | undefined
targets: TargetPlainObject[] | undefined,
): void;

// FIXME: Remove this once we have a better way to get this function
Expand All @@ -40,7 +40,7 @@ export interface TestHelpers {
editor: TextEditor,
ide: IDE,
marks: SerializedMarks | undefined,
forceRealClipboard: boolean
forceRealClipboard: boolean,
): Promise<TestCaseSnapshot>;

runIntegrationTests(): Promise<void>;
Expand Down
7 changes: 2 additions & 5 deletions packages/vscode-common/src/getExtensionApi.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import type {
CommandServerApi,
SnippetMap,
} from "@cursorless/common";
import type { CommandServerApi, SnippetMap } from "@cursorless/common";
import * as vscode from "vscode";
import type { Language, SyntaxNode, Tree } from "web-tree-sitter";
import {TestHelpers} from "./TestHelpers";
import { TestHelpers } from "./TestHelpers";

export interface CursorlessApi {
testHelpers: TestHelpers | undefined;
Expand Down

0 comments on commit a88346c

Please sign in to comment.