microsoft / TypeScript-Node-Starter

A reference example for TypeScript and Node with a detailed README describing how to use the two together.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

None of the tests pass.

trydalch opened this issue · comments

I just cloned it down, installed with yarn, and then ran yarn test and all 10 tests timed out.

Is this expected?

I also tried running the tests with npm, just in case, but same result.

@trydalch can you make sure yarn build or npm run build works fine on your instance? jest just used transpileer under the hood, tests should work if the project transpiles ok

commented

You will need to setup MongoDB before running the tests. Run a MongoDB instance locally or use a cloud instance and configure your .env file accordingly.