updated test loader
This commit is contained in:
parent
b4b280c4ff
commit
e76af886bf
25
index.js
25
index.js
@ -1,6 +1,19 @@
|
|||||||
module.exports = {
|
var tests = module.exports = {};
|
||||||
basicTests: require('require-all')(__dirname + '/BasicTests/'),
|
|
||||||
trieTests: require('require-all')(__dirname + '/TrieTests/'),
|
Object.defineProperties(tests, {
|
||||||
stateTests: require('require-all')(__dirname + '/StateTests/'),
|
blockTests: {
|
||||||
vmTests: require('require-all')(__dirname + '/VMTests')
|
get: require('require-all').bind(this, __dirname + '/BlockTests')
|
||||||
};
|
},
|
||||||
|
basicTests: {
|
||||||
|
get: require('require-all').bind(this, __dirname + '/BasicTests/')
|
||||||
|
},
|
||||||
|
trieTests: {
|
||||||
|
get: require('require-all').bind(this, __dirname + '/TrieTests/')
|
||||||
|
},
|
||||||
|
stateTests: {
|
||||||
|
get: require('require-all').bind(this, __dirname + '/StateTests/')
|
||||||
|
},
|
||||||
|
vmTests: {
|
||||||
|
get: require('require-all').bind(this, __dirname + '/VMTests')
|
||||||
|
}
|
||||||
|
});
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ethereum-tests",
|
"name": "ethereum-tests",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"description": "tests for ethereum",
|
"description": "tests for ethereum",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user