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
b4d51cac
Commit
b4d51cac
authored
Apr 23, 2020
by
LianaHus
Committed by
Aniket
Apr 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stop after error
parent
e164eba9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test-tab.js
src/app/tabs/test-tab.js
+3
-3
No files found.
src/app/tabs/test-tab.js
View file @
b4d51cac
...
@@ -177,8 +177,8 @@ module.exports = class TestTab extends ViewPlugin {
...
@@ -177,8 +177,8 @@ module.exports = class TestTab extends ViewPlugin {
// if all tests has been through before stopping no need to print this.
// if all tests has been through before stopping no need to print this.
this
.
testsExecutionStopped
.
hidden
=
false
this
.
testsExecutionStopped
.
hidden
=
false
}
}
if
(
this
.
hasBeenStopped
||
this
.
readyTestsNumber
===
this
.
runningTestsNumber
)
{
if
(
_errors
||
this
.
hasBeenStopped
||
this
.
readyTestsNumber
===
this
.
runningTestsNumber
)
{
// All tests are ready or the operation has been canceled
// All tests are ready or the operation has been canceled
or there was a compilation error in one of the test files.
const
stopBtn
=
document
.
getElementById
(
'runTestsTabStopAction'
)
const
stopBtn
=
document
.
getElementById
(
'runTestsTabStopAction'
)
stopBtn
.
setAttribute
(
'disabled'
,
'disabled'
)
stopBtn
.
setAttribute
(
'disabled'
,
'disabled'
)
const
stopBtnLabel
=
document
.
getElementById
(
'runTestsTabStopActionLabel'
)
const
stopBtnLabel
=
document
.
getElementById
(
'runTestsTabStopActionLabel'
)
...
@@ -197,7 +197,7 @@ module.exports = class TestTab extends ViewPlugin {
...
@@ -197,7 +197,7 @@ module.exports = class TestTab extends ViewPlugin {
}
}
/*
/*
Test
are
not associated with the UI
Test
is
not associated with the UI
*/
*/
testFromSource
(
content
,
path
=
'browser/unit_test.sol'
)
{
testFromSource
(
content
,
path
=
'browser/unit_test.sol'
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
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