From 3f066a9a7d35480194c06139fdf21bf1c1e5018d Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Fri, 3 Jul 2020 17:30:28 +0530 Subject: [PATCH] test working for remix-debug --- libs/remix-debug/package.json | 2 +- libs/remix-debug/test/decoder/localsTests/structArray.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-debug/package.json b/libs/remix-debug/package.json index 9c09a68e35..6037fd17e9 100644 --- a/libs/remix-debug/package.json +++ b/libs/remix-debug/package.json @@ -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", diff --git a/libs/remix-debug/test/decoder/localsTests/structArray.js b/libs/remix-debug/test/decoder/localsTests/structArray.js index d5d4d0f6bd..c424727138 100644 --- a/libs/remix-debug/test/decoder/localsTests/structArray.js +++ b/libs/remix-debug/test/decoder/localsTests/structArray.js @@ -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')