alsatian
alsatian copied to clipboard
Implement specifying ts-config to alsatian-cli
Description
Allow specifying ts-config. Closes #599
Checklist
- [x] I am an awesome developer and proud of my code
- [ ] I added / updated / removed relevant unit or integration tests to prove my change works
- [x] I ran all tests using
npm test
to make sure everything else still works
@jamesadarich I could do with some guidance on where I need to add tests for this?
Yeah, no worries we can catch up on Monday :)
It would also be nice if there was integration with the tsconfig-paths
package. Right now I'm maintaining my own CLI script to start alsatian, and this PR alone wouldn't be enough to change that:
https://github.com/cashmoneyjs/cashmoney/blob/master/run-tests.js
Reviewing it again, I realised it would be good if there was also a "bootstrap" flag to require a file that performs initial setup, such as extensions for Expect
:
https://github.com/cashmoneyjs/cashmoney/blob/master/tests/bootstrap.ts