From 4ad97eed80a3d31da61521761c8a6296ba763452 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 5 Jun 2024 10:44:43 +0200 Subject: [PATCH] fix plugin test --- apps/remix-ide-e2e/src/local-plugin/src/app/app.tsx | 8 ++++++-- apps/remix-ide-e2e/src/tests/plugin_api.ts | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/remix-ide-e2e/src/local-plugin/src/app/app.tsx b/apps/remix-ide-e2e/src/local-plugin/src/app/app.tsx index 2b1479dda1..840b8d377b 100644 --- a/apps/remix-ide-e2e/src/local-plugin/src/app/app.tsx +++ b/apps/remix-ide-e2e/src/local-plugin/src/app/app.tsx @@ -3,7 +3,6 @@ import {RemixPlugin} from './Client' import {Logger} from './logger' import {filePanelProfile} from '@remixproject/plugin-api' import {filSystemProfile} from '@remixproject/plugin-api' -import {dGitProfile} from '@remixproject/plugin-api' import {editorProfile} from '@remixproject/plugin-api' import {settingsProfile} from '@remixproject/plugin-api' import {networkProfile} from '@remixproject/plugin-api' @@ -12,8 +11,13 @@ import {compilerProfile} from '@remixproject/plugin-api' import {contentImportProfile} from '@remixproject/plugin-api' import {windowProfile} from '@remixproject/plugin-api' import {pluginManagerProfile} from '@remixproject/plugin-api' -import {Profile} from '@remixproject/plugin-utils' +import {LibraryProfile, Profile} from '@remixproject/plugin-utils' + +export const dGitProfile: LibraryProfile = { + name: 'dgitApi', + methods: ['status', 'log', 'commit', 'add', 'branches'], +} import './app.css' const client = new RemixPlugin() diff --git a/apps/remix-ide-e2e/src/tests/plugin_api.ts b/apps/remix-ide-e2e/src/tests/plugin_api.ts index b42f082b3e..0bc50240a3 100644 --- a/apps/remix-ide-e2e/src/tests/plugin_api.ts +++ b/apps/remix-ide-e2e/src/tests/plugin_api.ts @@ -11,7 +11,7 @@ const localPluginData: Profile & LocationProfile & ExternalProfile = { name: 'localPlugin', displayName: 'Local Plugin', canActivate: ['dgitApi', 'flattener', 'solidityUnitTesting', 'udapp', 'hardhat-provider'], - url: 'http://localhost:9999', + url: 'http://localhost:2020', location: 'sidePanel' }