Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Sails.js hooks #298
Sails allows you to have installable hooks that you you simply
Using your https://github.com/wallabyjs/sailsjs-mocha-testing-barrels-fixtures-example repo
In mocha it'll load the
With wallaby however thanks to how it instruments and caches things it doesn't appear to allow that.
Any advice on how it can be tweaked?
I'm not an expert in sails.js, but when I run mocha in the sample repo that you have mentioned, it doesn't load
ah, sorry, didn't realise that your demo had an older version of sails in it
Thanks. I had a look and created the pull request with wallaby config addition that should do the trick.
An alternative to the config change would be to just specify node modules with hooks in your
You may pick whichever solution you like better. Please let me know if it works for you.