I currently have a script 'npm run make-file' which will create a boiler plate file. Nothing fancy at all, but I am trying to create a test for that in my test suite. I am using Mocha/Chai for testing.
Is it even possible to run a script in the terminal from a mocha test?
describe('Make File', function () { it('Runs npm run make file', function (done) { // What would belong here? }); });