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
fa772c01
Unverified
Commit
fa772c01
authored
Oct 12, 2019
by
yann300
Committed by
GitHub
Oct 12, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1311 from ethereum/fix/#1288
transaction execution error recorded
parents
f762684c
501edb8d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
testRunner.ts
remix-tests/src/testRunner.ts
+12
-2
No files found.
remix-tests/src/testRunner.ts
View file @
fa772c01
...
...
@@ -158,9 +158,19 @@ export function runTest (testName, testObject: any, contractDetails: any, opts:
console
.
error
(
err
)
return
next
(
err
)
}
}).
on
(
'error'
,
function
(
err
:
Error
|
null
|
undefined
)
{
}).
on
(
'error'
,
function
(
err
:
any
)
{
console
.
error
(
err
)
next
(
err
)
let
time
:
number
=
(
Date
.
now
()
-
startTime
)
/
1000.0
const
resp
:
TestResultInterface
=
{
type
:
'testFailure'
,
value
:
changeCase
.
sentenceCase
(
func
.
name
),
time
:
time
,
errMsg
:
err
.
message
,
context
:
testName
};
testCallback
(
undefined
,
resp
)
failureNum
+=
1
return
next
()
})
}
},
function
(
error
)
{
...
...
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