Open hoffi opened 9 years ago
I've already created a branch tests
where i have added a first test for the title-cleaner
and give a set of bad filenames and then expect specific results:
ff0324457f73184c70cd1b4f852669058dbc1542
Ow wauw this is quite awesome! you use mocha to run these tests I see?
Yes i have already used Mocha in my other projects and i like it :)
maybe add something like: "test": "node nodemodules/mocha/bin/mocha spec/*/_.spec.js" to the package.json file so we can just npm run test and trigger Mocha
Add Tests to the project to ensure things like Title-Cleaner for example don't get broken.