Skip to content

Commit

Permalink
Upgrade mocha unit test runner, fixes growl security vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
James Calfee committed Jun 28, 2018
1 parent 2b69786 commit f8492ec
Show file tree
Hide file tree
Showing 6 changed files with 324 additions and 419 deletions.
2 changes: 1 addition & 1 deletion bin/1-update-eosio.sh
@@ -1,4 +1,4 @@
set -o errexit
set -o xtrace

docker cp docker_nodeos_1:/eosio.abi .
docker cp docker_nodeos_1:/contracts/eosio.system/eosio.system.abi .
4 changes: 2 additions & 2 deletions bin/2-extract-abi.js
Expand Up @@ -2,9 +2,9 @@

const fs = require('fs')

console.log('reading ./eosio.abi')
console.log('reading ./eosio.system.abi')

let abi = JSON.parse(fs.readFileSync('eosio.abi', 'utf8'));
let abi = JSON.parse(fs.readFileSync('eosio.system.abi', 'utf8'));

let actions = {};
for ({ name, type } of abi.actions)
Expand Down
200 changes: 58 additions & 142 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
"devDependencies": {
"camel-case": "^3.0.0",
"fcbuffer": "^2.1.5",
"mocha": "^3.4.2"
"mocha": "^5.2.0"
},
"scripts": {
"test": "mocha index.test.js **/*.test.js"
Expand Down

0 comments on commit f8492ec

Please sign in to comment.