From 4446a20fecffd5437ed4d4cbb424d56f21da1b94 Mon Sep 17 00:00:00 2001 From: Luis Mastrangelo Date: Tue, 16 Jan 2024 05:02:06 -0300 Subject: [PATCH] Clean up test --- test/evm.test.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/test/evm.test.ts b/test/evm.test.ts index 34151a1..dd7bf10 100644 --- a/test/evm.test.ts +++ b/test/evm.test.ts @@ -85,14 +85,11 @@ describe('::evm', function () { } }`; const evm = EVM.new(compile(src, '0.7.6', this, { optimizer: { enabled: true } }).bytecode); - // const main = - // evm.start(); - const state = new State(); - evm.exec(19, state); - // console.log(state.stmts); - // console.log(state.stack); - // console.log(evm.errors); + evm.start(); + expect(evm.step.functionBranches).to.be.empty; + expect(evm.errors).to.be.empty; + // expect(cfg(evm)).to.matchSnapshot('mermaid', this); }); it('should create ', function () {