alsatian icon indicating copy to clipboard operation
alsatian copied to clipboard

Implement specifying ts-config to alsatian-cli

Open hisuwh opened this issue 4 years ago • 3 comments

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

hisuwh avatar Nov 03 '19 21:11 hisuwh

@jamesadarich I could do with some guidance on where I need to add tests for this?

hisuwh avatar Dec 23 '19 15:12 hisuwh

Yeah, no worries we can catch up on Monday :)

jamesadarich avatar Jan 02 '20 23:01 jamesadarich

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

mwgamble avatar Jan 28 '20 01:01 mwgamble