mirror of
https://github.com/coder/code-server.git
synced 2025-07-28 12:33:43 +08:00
plugin.ts: Adjust to implement pluginapi.d.ts correctly
This commit is contained in:
@ -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",
|
||||
},
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user