To install `npm install`
To build: `npm run tsc`
To build and run the app `npm run tsc-and-serve`
To build and run the tests `npm run tsc-and-test`
Tests run successfully with this initial setup.
... But as soon as the 'test' files are moved from the src/test folder into the src folder ( along with some minor transforms to work in the new location) then the tests fail with an obscure error message.
To repro this
-
- rename the 'src' folder to 'src-good'
-
- rename the 'src-bad' folder to 'src'
-
- rerun the tests.