test working for remix-debug

pull/5/head
aniket-engg 4 years ago
parent 4395ea9995
commit 6c1c567790
  1. 2
      libs/remix-debug/package.json
  2. 2
      libs/remix-debug/test/decoder/localsTests/structArray.js

@ -42,7 +42,7 @@
"scripts": { "scripts": {
"build": "mkdirp build; browserify index.js > build/app.js", "build": "mkdirp build; browserify index.js > build/app.js",
"lint": "standard | notify-error", "lint": "standard | notify-error",
"test": "standard && tape ./test/tests.js" "test": "./../../node_modules/.bin/tape --require tsconfig-paths/register ./test/tests.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

@ -31,7 +31,7 @@ module.exports = function (st, vm, privateKey, contractBytecode, compilationResu
st.fail(error) st.fail(error)
}) })
callTree.event.register('callTreeReady', (scopes, scopeStarts) => { callTree.event.register('callTreeReady', (scopes, scopeStarts) => {
helper.decodeLocals(st, 1587, traceManager, callTree, function (locals) { helper.decodeLocals(st, 1622, traceManager, callTree, function (locals) {
try { try {
st.equals(locals['bytesSimple'].length, '0x14') st.equals(locals['bytesSimple'].length, '0x14')
st.equals(locals['bytesSimple'].value, '0x746573745f7375706572') st.equals(locals['bytesSimple'].value, '0x746573745f7375706572')

Loading…
Cancel
Save