fix plugin test

pull/4791/head
filip mertens 6 months ago
parent 1a35705510
commit 4ad97eed80
  1. 8
      apps/remix-ide-e2e/src/local-plugin/src/app/app.tsx
  2. 2
      apps/remix-ide-e2e/src/tests/plugin_api.ts

@ -3,7 +3,6 @@ import {RemixPlugin} from './Client'
import {Logger} from './logger' import {Logger} from './logger'
import {filePanelProfile} from '@remixproject/plugin-api' import {filePanelProfile} from '@remixproject/plugin-api'
import {filSystemProfile} from '@remixproject/plugin-api' import {filSystemProfile} from '@remixproject/plugin-api'
import {dGitProfile} from '@remixproject/plugin-api'
import {editorProfile} from '@remixproject/plugin-api' import {editorProfile} from '@remixproject/plugin-api'
import {settingsProfile} from '@remixproject/plugin-api' import {settingsProfile} from '@remixproject/plugin-api'
import {networkProfile} 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 {contentImportProfile} from '@remixproject/plugin-api'
import {windowProfile} from '@remixproject/plugin-api' import {windowProfile} from '@remixproject/plugin-api'
import {pluginManagerProfile} 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<any> = {
name: 'dgitApi',
methods: ['status', 'log', 'commit', 'add', 'branches'],
}
import './app.css' import './app.css'
const client = new RemixPlugin() const client = new RemixPlugin()

@ -11,7 +11,7 @@ const localPluginData: Profile & LocationProfile & ExternalProfile = {
name: 'localPlugin', name: 'localPlugin',
displayName: 'Local Plugin', displayName: 'Local Plugin',
canActivate: ['dgitApi', 'flattener', 'solidityUnitTesting', 'udapp', 'hardhat-provider'], canActivate: ['dgitApi', 'flattener', 'solidityUnitTesting', 'udapp', 'hardhat-provider'],
url: 'http://localhost:9999', url: 'http://localhost:2020',
location: 'sidePanel' location: 'sidePanel'
} }

Loading…
Cancel
Save