Skip to content

Commit 8af7dbd

Browse files
committed
added publish
1 parent 4f23772 commit 8af7dbd

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@
9999
"test": "vscode-test",
100100
"coverage": "npm run test -- --coverage",
101101
"vscode:prepublish": "npm run compile",
102-
"package": "npx --package=@vscode/vsce -- vsce package"
102+
"package": "npx --package=@vscode/vsce -- vsce package",
103+
"publish": "npx --package=@vscode/vsce -- vsce publish"
103104
},
104105
"devDependencies": {
105106
"@types/node": "20.x",

src/test/extension.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ describe("Extension Test Suite", () => {
1818
}
1919

2020
async function open() {
21-
const document = await vscode.workspace.openTextDocument({
22-
language: "typescript",
23-
content: "",
24-
});
21+
const document = await vscode.workspace.openTextDocument({});
2522
await vscode.window.showTextDocument(document);
2623
}
2724

0 commit comments

Comments
 (0)