Whenever I try and do
truffle test I get the error
Cannot read property 'gasUsed' of null
truffle migrate --reset works fine
More confusingly, to rule out something in one of my tests that is causing the problem, I have deleted everything from the tests folder. So- to my understanding- if there is nothing in the tests folder,
truffle test should do the exact same thing as
truffle migrate?! Is there some separate configuration the tests are referring to that could be causing this?