Commit 6c1c5677 authored by aniket-engg's avatar aniket-engg

test working for remix-debug

parent 4395ea99
......@@ -42,7 +42,7 @@
"scripts": {
"build": "mkdirp build; browserify index.js > build/app.js",
"lint": "standard | notify-error",
"test": "standard && tape ./test/tests.js"
"test": "./../../node_modules/.bin/tape --require tsconfig-paths/register ./test/tests.js"
},
"repository": {
"type": "git",
......
......@@ -31,7 +31,7 @@ module.exports = function (st, vm, privateKey, contractBytecode, compilationResu
st.fail(error)
})
callTree.event.register('callTreeReady', (scopes, scopeStarts) => {
helper.decodeLocals(st, 1587, traceManager, callTree, function (locals) {
helper.decodeLocals(st, 1622, traceManager, callTree, function (locals) {
try {
st.equals(locals['bytesSimple'].length, '0x14')
st.equals(locals['bytesSimple'].value, '0x746573745f7375706572')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment