Archived
1
0

plugin.ts: Describe private counterpart functions

Addresses Will's comments.
This commit is contained in:
Anmol Sethi
2020-11-03 21:14:19 -05:00
parent e03bbe3149
commit 139a28e0ea
4 changed files with 20 additions and 5 deletions

View File

@ -17,10 +17,10 @@ describe("plugin", () => {
assert.deepEqual(
[
{
name: "test app",
name: "Test App",
version: "4.0.0",
description: "my description",
description: "This app does XYZ.",
iconPath: "/icon.svg",
plugin: {
@ -28,8 +28,8 @@ describe("plugin", () => {
version: "1.0.0",
modulePath: path.join(__dirname, "test-plugin"),
description: "Plugin used in code-server tests.",
displayName: "Test Plugin",
description: "Plugin used in code-server tests.",
path: "/test-plugin",
},
},

View File

@ -21,11 +21,11 @@ export function router(): express.Router {
export function applications(): pluginapi.Application[] {
return [
{
name: "test app",
name: "Test App",
version: "4.0.0",
iconPath: "/icon.svg",
description: "my description",
description: "This app does XYZ.",
},
]
}