Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
2ebe883b
Commit
2ebe883b
authored
Oct 18, 2021
by
bunsenstraat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unit tests
parent
9e3fe553
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app.tsx
apps/remix-ide-e2e/src/local-plugin/src/app/app.tsx
+2
-3
remixEngine.js
apps/remix-ide/src/remixEngine.js
+1
-0
No files found.
apps/remix-ide-e2e/src/local-plugin/src/app/app.tsx
View file @
2ebe883b
...
@@ -13,7 +13,6 @@ import { terminalProfile } from '@remixproject/plugin-api/lib/terminal/profile'
...
@@ -13,7 +13,6 @@ import { terminalProfile } from '@remixproject/plugin-api/lib/terminal/profile'
import
{
udappProfile
}
from
'@remixproject/plugin-api/lib/udapp'
import
{
udappProfile
}
from
'@remixproject/plugin-api/lib/udapp'
import
{
compilerProfile
}
from
'@remixproject/plugin-api/lib/compiler'
import
{
compilerProfile
}
from
'@remixproject/plugin-api/lib/compiler'
import
{
contentImportProfile
}
from
'@remixproject/plugin-api/lib/content-import'
import
{
contentImportProfile
}
from
'@remixproject/plugin-api/lib/content-import'
import
{
unitTestProfile
}
from
'@remixproject/plugin-api/lib/unit-testing'
import
{
windowProfile
}
from
'@remixproject/plugin-api/lib/window'
import
{
windowProfile
}
from
'@remixproject/plugin-api/lib/window'
import
{
pluginManagerProfile
}
from
'@remixproject/plugin-api/lib/plugin-manager'
import
{
pluginManagerProfile
}
from
'@remixproject/plugin-api/lib/plugin-manager'
import
{
Profile
}
from
'@remixproject/plugin-utils'
import
{
Profile
}
from
'@remixproject/plugin-utils'
...
@@ -27,7 +26,7 @@ function App () {
...
@@ -27,7 +26,7 @@ function App () {
const
[
append
,
setAppend
]
=
useState
<
boolean
>
(
false
)
const
[
append
,
setAppend
]
=
useState
<
boolean
>
(
false
)
const
[
log
,
setLog
]
=
useState
<
any
>
()
const
[
log
,
setLog
]
=
useState
<
any
>
()
const
[
events
,
setEvents
]
=
useState
<
any
>
()
const
[
events
,
setEvents
]
=
useState
<
any
>
()
const
[
profiles
,
setProfiles
]
=
useState
<
Profile
[]
>
([
pluginManagerProfile
,
filePanelProfile
,
filSystemProfile
,
dGitProfile
,
networkProfile
,
settingsProfile
,
editorProfile
,
terminalProfile
,
compilerProfile
,
udappProfile
,
contentImportProfile
,
unitTestProfile
,
windowProfile
])
const
[
profiles
,
setProfiles
]
=
useState
<
Profile
[]
>
([
pluginManagerProfile
,
filePanelProfile
,
filSystemProfile
,
dGitProfile
,
networkProfile
,
settingsProfile
,
editorProfile
,
terminalProfile
,
compilerProfile
,
udappProfile
,
contentImportProfile
,
windowProfile
])
const
handleChange
=
({
target
}:
any
)
=>
{
const
handleChange
=
({
target
}:
any
)
=>
{
setPayload
(
target
.
value
)
setPayload
(
target
.
value
)
...
@@ -35,7 +34,7 @@ function App () {
...
@@ -35,7 +34,7 @@ function App () {
useEffect
(()
=>
{
useEffect
(()
=>
{
client
.
onload
(
async
()
=>
{
client
.
onload
(
async
()
=>
{
const
customProfiles
=
[
'menuicons'
,
'tabs'
]
const
customProfiles
=
[
'menuicons'
,
'tabs'
,
'solidityUnitTesting'
]
let
addProfiles
=
[]
let
addProfiles
=
[]
for
(
const
name
of
customProfiles
)
{
for
(
const
name
of
customProfiles
)
{
...
...
apps/remix-ide/src/remixEngine.js
View file @
2ebe883b
...
@@ -13,6 +13,7 @@ export class RemixEngine extends Engine {
...
@@ -13,6 +13,7 @@ export class RemixEngine extends Engine {
if
(
name
===
'dGitProvider'
)
return
{
queueTimeout
:
60000
*
4
}
if
(
name
===
'dGitProvider'
)
return
{
queueTimeout
:
60000
*
4
}
if
(
name
===
'slither'
)
return
{
queueTimeout
:
60000
*
4
}
// Requires when a solc version is installed
if
(
name
===
'slither'
)
return
{
queueTimeout
:
60000
*
4
}
// Requires when a solc version is installed
if
(
name
===
'hardhat'
)
return
{
queueTimeout
:
60000
*
4
}
if
(
name
===
'hardhat'
)
return
{
queueTimeout
:
60000
*
4
}
if
(
name
===
'solidityUnitTesting'
)
return
{
queueTimeout
:
60000
*
4
}
return
{
queueTimeout
:
10000
}
return
{
queueTimeout
:
10000
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment