JoranHonig / vertigo

Mutation Testing for Ethereum Smart Contracts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Encountered error during test output analysis

navdeepblock8 opened this issue · comments

Vertigo showing this error when run with Hardhat. Can someone help me to solve this issue?

Having the same issue. I had to first rename hardhat.config.ts to .js because of the error Could not find supported project directory in. But now I'm also facing the error: Encountered an error while running the framework's test command: Encountered error during test output analysis

commented

For me the way to fix this is to remove additional plugins inside Hardhat that are outputting something on the stdout. In my case it was require("hardhat-gas-reporter");. Hope this helps!

When I test it using truffle, got the same error.
If we use console or logger in the migration scripts, then will get this issues.
This is grabbing all logs and trying to convert json format.
If there are some additional logs, then will get that issue

did anyone find a solution for this?