Skip to content

Commit

Permalink
fix unit test error
Browse files Browse the repository at this point in the history
Cannot find module 'vscode'
  • Loading branch information
Almenon committed Nov 15, 2024
1 parent 5c606ec commit 3c2b147
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/mockVscode.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { EOL } from "os";
import { ThemeColor } from "vscode"
import type { TextDocument, WorkspaceFolder, TextLine, Position, Range, StatusBarItem, Extension, TreeDataProvider, Command, TreeItemCollapsibleState } from "vscode"
import { URI } from 'vscode-uri'

Expand Down Expand Up @@ -160,7 +159,7 @@ export let vscodeMock = {
id: "",
name: "",
accessibilityInformation: null,
backgroundColor: new ThemeColor("#00AA00"),
backgroundColor: null,
alignment: 1,
priority: 0,
text: "",
Expand Down

0 comments on commit 3c2b147

Please sign in to comment.