diff --git a/README.md b/README.md index 30c20aa..8ef3ba5 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,14 @@ npm run-script build npm test ``` +### Testing (karma) +Karma allows testing within one or several browser. + +```bash +karma start --singleRun=true --browsers="Chrome,Firefox" +``` + + **Please note this repo is in it's early stage.** If you'd like to run a Http ethereum node check out diff --git a/karma.conf.js b/karma.conf.js index aa26fd2..0ed5a15 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -78,7 +78,7 @@ module.exports = function (config) { browserDisconnectTimeout: 5000, customLaunchers: { - chrome_without_security: { + chromeWithoutSecurity: { base: 'Chrome', flags: ['--disable-web-security'] },