plugin.ts: Adjust to implement pluginapi.d.ts correctly

This commit is contained in:
Anmol Sethi
2020-11-03 21:11:14 -05:00
parent fed545e67d
commit afff86ae9c
6 changed files with 48 additions and 18 deletions

View File

@ -17,14 +17,20 @@ describe("plugin", () => {
assert.deepEqual(
[
{
name: "goland",
name: "test app",
version: "4.0.0",
description: "my description",
iconPath: "/icon.svg",
plugin: {
name: "test-plugin",
version: "1.0.0",
description: "Fake plugin for testing code-server's plugin API",
modulePath: path.join(__dirname, "test-plugin"),
description: "Plugin used in code-server tests.",
displayName: "Test Plugin",
path: "/test-plugin",
},
},
],