diff options
author | wanderer <mjbecze@gmail.com> | 2015-02-01 07:26:29 +0800 |
---|---|---|
committer | wanderer <mjbecze@gmail.com> | 2015-02-01 07:26:29 +0800 |
commit | e76af886bf4779db7988c4444b9cfd4173bbf901 (patch) | |
tree | 0ad4cab3a674ef051dc068d6776fde61cdb8628a /index.js | |
parent | b4b280c4ff404fecec4b7c86648ef47ea6e27ae7 (diff) | |
download | tangerine-tests-e76af886bf4779db7988c4444b9cfd4173bbf901.tar tangerine-tests-e76af886bf4779db7988c4444b9cfd4173bbf901.tar.gz tangerine-tests-e76af886bf4779db7988c4444b9cfd4173bbf901.tar.bz2 tangerine-tests-e76af886bf4779db7988c4444b9cfd4173bbf901.tar.lz tangerine-tests-e76af886bf4779db7988c4444b9cfd4173bbf901.tar.xz tangerine-tests-e76af886bf4779db7988c4444b9cfd4173bbf901.tar.zst tangerine-tests-e76af886bf4779db7988c4444b9cfd4173bbf901.zip |
updated test loader
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 25 |
1 files changed, 19 insertions, 6 deletions
@@ -1,6 +1,19 @@ -module.exports = { - basicTests: require('require-all')(__dirname + '/BasicTests/'), - trieTests: require('require-all')(__dirname + '/TrieTests/'), - stateTests: require('require-all')(__dirname + '/StateTests/'), - vmTests: require('require-all')(__dirname + '/VMTests') -}; +var tests = module.exports = {}; + +Object.defineProperties(tests, { + blockTests: { + 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') + } +}); |