Skip to content

Commit 396f2e9

Browse files
committed
fix trace manager test
1 parent 4e78f77 commit 396f2e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

remix-lib/test/traceManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ tape('TraceManager', function (t) {
251251

252252
t.test('TraceManager.getStepCost', function (st) {
253253
try {
254-
const result = this._traceManager.getStepCost(23)
254+
const result = traceManager.getStepCost(23)
255255
console.log(result)
256256
st.ok(result === '3')
257257
st.end()
@@ -262,7 +262,7 @@ tape('TraceManager', function (t) {
262262

263263
t.test('TraceManager.getRemainingGas', function (st) {
264264
try {
265-
const result = this._traceManager.getRemainingGas(55)
265+
const result = traceManager.getRemainingGas(55)
266266
console.log(result)
267267
st.ok(result === '79306')
268268
st.end()

0 commit comments

Comments
 (0)