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
a20459c9
Unverified
Commit
a20459c9
authored
Jan 23, 2020
by
yann300
Committed by
GitHub
Jan 23, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1407 from ethereum/fix/#969
optional final callback in runTestFiles
parents
30d61a1a
c32561d8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
runTestFiles.ts
remix-tests/src/runTestFiles.ts
+3
-3
No files found.
remix-tests/src/runTestFiles.ts
View file @
a20459c9
...
@@ -13,10 +13,11 @@ import { deployAll } from './deployer'
...
@@ -13,10 +13,11 @@ import { deployAll } from './deployer'
* @param filepath Path of file
* @param filepath Path of file
* @param isDirectory True, if path is a directory
* @param isDirectory True, if path is a directory
* @param web3 Web3
* @param web3 Web3
* @param finalCallback optional callback to run finally
* @param opts Options
* @param opts Options
*/
*/
export
function
runTestFiles
(
filepath
:
string
,
isDirectory
:
boolean
,
web3
:
Web3
,
opts
?:
Options
)
{
export
function
runTestFiles
(
filepath
:
string
,
isDirectory
:
boolean
,
web3
:
Web3
,
finalCallback
:
any
=
()
=>
{},
opts
?:
Options
)
{
opts
=
opts
||
{}
opts
=
opts
||
{}
const
sourceASTs
:
any
=
{}
const
sourceASTs
:
any
=
{}
const
{
Signale
}
=
require
(
'signale'
)
const
{
Signale
}
=
require
(
'signale'
)
...
@@ -152,6 +153,5 @@ export function runTestFiles(filepath: string, isDirectory: boolean, web3: Web3,
...
@@ -152,6 +153,5 @@ export function runTestFiles(filepath: string, isDirectory: boolean, web3: Web3,
next
()
next
()
})
})
}
}
],
()
=>
{
],
finalCallback
)
})
}
}
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