I'm trying to run multiple Truffle test suites. These suites all use deployProxy
in a beforeEach
call. The first suite runs fine, but all other suites fail with the error:
"before each" hook for <description of first test in corresponding suite>:
Error: Global Truffle config not found: Truffle >=5.1.35 is required. Truffle exec not yet supported
However, I'm not using a global Truffle installation. I'm using the latest Truffle version and calling: npx truffle test --network development
.
I've searched through the forum for similar issues but they all involved removing the global Truffle package, which I don't use anyway - so I'm stuck on what to do.
Thanks!
Code to reproduce
Environment
Truffle v5.5.18 (core: 5.5.18)
Ganache v7.2.0
Solidity - pragma (solc-js) 0.8.0
Node v16.9.1
Web3.js v1.5.3