diff --git a/Gruntfile.js b/Gruntfile.js index 118316a7c..b58d64b46 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -101,6 +101,7 @@ module.exports = function(grunt) { 'dist/ethers-providers.js': './providers/index.js', 'dist/ethers-utils.js': './utils/index.js', 'dist/ethers-wallet.js': './wallet/index.js', + 'dist/ethers-tests.js': './tests/browser.js', }, options: { transform: [ diff --git a/tests/browser.js b/tests/browser.js new file mode 100644 index 000000000..089960772 --- /dev/null +++ b/tests/browser.js @@ -0,0 +1,8 @@ +'use strict'; + +module.exports = { + "contract-interface": require('./run-contract-interface.js'), + "hdnode": require('./run-hdnode.js'), + "utils": require('./run-utils.js'), + "wallet": require('./run-wallet.js'), +}; diff --git a/tests/test.html b/tests/test.html new file mode 100644 index 000000000..a2bcba083 --- /dev/null +++ b/tests/test.html @@ -0,0 +1,21 @@ + + +
+