How can I get truffle test to execute node with the --abort-on-uncaught-exception option?

I'm guessing that I should probably add something in the Truffle's configuration file (truffle.js), but the docs don't say anything about this.

Thank you!!!


It doesn't seem to be possible to pass nodejs parameters via truffle command (just checked the script). But you could make your own version of the truffle.cmd/truffle script (in node root folder) adding the required nodejs parameter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.