When using Truffle directly, one can speed up the tests significantly by configuring Ganache to avoid disk I/O operations in file truffle-config.js
:
const memdown = require('memdown');
module.exports = {
...
networks: {
...
development: {
...
provider: ganache.provider({
...
db: memdown()
})
}
}
};
I am looking for a way to apply the same on your test environment.
Adding the above configuration in file test-environment.config.js
does not seem to work.
An error is thrown in low-level file deferred-leveldown.js
.
The Test Environment Configuration page does not explain how to do that.
Can you please explain how this can be achieved?
Thanks