I am looking for something to run a os command like node index.js
and i want to check for the file created by it. Its a cli project so I want it to run as a cli command. It should be some like
test('running command node index should give me a new folder', () => {
// my cli command here
expect file assertion
});
It is much similar to yeoman-assert
and yeoman-helpers
Thanks
Aucun commentaire:
Enregistrer un commentaire