From 6440d8e69d2186a3ec86b57761ffcd716fdb83c1 Mon Sep 17 00:00:00 2001 From: ricmoo Date: Mon, 1 Aug 2016 18:34:12 -0400 Subject: [PATCH] Allow running individual unit tests. --- tests/test-checksum-address.js | 2 ++ tests/test-contracts.js | 1 + tests/test-ether-format.js | 3 +++ tests/test-icap-address.js | 2 ++ tests/test-privatekey.js | 2 ++ tests/test-secret-storage.js | 2 ++ tests/test-solidity-coder.js | 2 ++ tests/test-transactions.js | 2 ++ 8 files changed, 16 insertions(+) diff --git a/tests/test-checksum-address.js b/tests/test-checksum-address.js index dd2a985f..7ad90c9f 100644 --- a/tests/test-checksum-address.js +++ b/tests/test-checksum-address.js @@ -23,3 +23,5 @@ module.exports = function(test) { test.done(); }; +module.exports.testSelf = module.exports; + diff --git a/tests/test-contracts.js b/tests/test-contracts.js index 7ad6ff33..31e8a3d2 100644 --- a/tests/test-contracts.js +++ b/tests/test-contracts.js @@ -70,3 +70,4 @@ module.exports = function(test) { }); }; +module.exports.testSelf = module.exports; diff --git a/tests/test-ether-format.js b/tests/test-ether-format.js index fd5725dd..be903d59 100644 --- a/tests/test-ether-format.js +++ b/tests/test-ether-format.js @@ -53,3 +53,6 @@ module.exports = function(test) { test.done(); } + +module.exports.testSelf = module.exports; + diff --git a/tests/test-icap-address.js b/tests/test-icap-address.js index 3b7696ff..bd6e404b 100644 --- a/tests/test-icap-address.js +++ b/tests/test-icap-address.js @@ -30,3 +30,5 @@ module.exports = function(test) { test.done(); }; +module.exports.testSelf = module.exports; + diff --git a/tests/test-privatekey.js b/tests/test-privatekey.js index 2047fcab..28b91d66 100644 --- a/tests/test-privatekey.js +++ b/tests/test-privatekey.js @@ -15,3 +15,5 @@ module.exports = function(test) { test.done(); } +module.exports.testSelf = module.exports; + diff --git a/tests/test-secret-storage.js b/tests/test-secret-storage.js index e252e3e3..d108159b 100644 --- a/tests/test-secret-storage.js +++ b/tests/test-secret-storage.js @@ -115,3 +115,5 @@ module.exports = function(test) { }); } +module.exports.testSelf = module.exports; + diff --git a/tests/test-solidity-coder.js b/tests/test-solidity-coder.js index ca647883..468b9ed0 100644 --- a/tests/test-solidity-coder.js +++ b/tests/test-solidity-coder.js @@ -686,3 +686,5 @@ module.exports = function(test) { }); } +module.exports.testSelf = module.exports; + diff --git a/tests/test-transactions.js b/tests/test-transactions.js index ebe2a2d8..a841c8e2 100644 --- a/tests/test-transactions.js +++ b/tests/test-transactions.js @@ -78,3 +78,5 @@ module.exports = function(test) { test.done(); }; +module.exports.testSelf = module.exports; +