├── .gitignore ├── .travis.yml ├── Gruntfile.js ├── LICENSE-MIT ├── README.md ├── app ├── app.d.ts ├── config.ts ├── controllers │ ├── index.ts │ └── users_controller.ts ├── main.ts ├── models │ └── user_model.ts └── server.ts ├── config ├── config.json ├── config_test.json └── coverage_blanket.js ├── package.json ├── test ├── controllers │ ├── index.spec.ts │ └── users_controller.spec.ts ├── models │ ├── mongoose_mock.ts │ ├── user_model.spec.ts │ └── user_model_mock.ts └── test.d.ts └── ts-definitions ├── asyncblock ├── asyncblock-tests.js ├── asyncblock-tests.js.map ├── asyncblock-tests.ts └── asyncblock.d.ts ├── express └── express.d.ts ├── mocha └── mocha.d.ts ├── node └── node.d.ts ├── should └── should.d.ts ├── sinon └── sinon-1.5.d.ts ├── superagent └── superagent.d.ts └── supertest └── supertest.d.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/Gruntfile.js -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/README.md -------------------------------------------------------------------------------- /app/app.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/app/app.d.ts -------------------------------------------------------------------------------- /app/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/app/config.ts -------------------------------------------------------------------------------- /app/controllers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/app/controllers/index.ts -------------------------------------------------------------------------------- /app/controllers/users_controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/app/controllers/users_controller.ts -------------------------------------------------------------------------------- /app/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/app/main.ts -------------------------------------------------------------------------------- /app/models/user_model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/app/models/user_model.ts -------------------------------------------------------------------------------- /app/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/app/server.ts -------------------------------------------------------------------------------- /config/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/config/config.json -------------------------------------------------------------------------------- /config/config_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/config/config_test.json -------------------------------------------------------------------------------- /config/coverage_blanket.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/config/coverage_blanket.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/package.json -------------------------------------------------------------------------------- /test/controllers/index.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/test/controllers/index.spec.ts -------------------------------------------------------------------------------- /test/controllers/users_controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/test/controllers/users_controller.spec.ts -------------------------------------------------------------------------------- /test/models/mongoose_mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/test/models/mongoose_mock.ts -------------------------------------------------------------------------------- /test/models/user_model.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/test/models/user_model.spec.ts -------------------------------------------------------------------------------- /test/models/user_model_mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/test/models/user_model_mock.ts -------------------------------------------------------------------------------- /test/test.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/test/test.d.ts -------------------------------------------------------------------------------- /ts-definitions/asyncblock/asyncblock-tests.js: -------------------------------------------------------------------------------- 1 | //# sourceMappingURL=asyncblock-tests.js.map 2 | -------------------------------------------------------------------------------- /ts-definitions/asyncblock/asyncblock-tests.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/ts-definitions/asyncblock/asyncblock-tests.js.map -------------------------------------------------------------------------------- /ts-definitions/asyncblock/asyncblock-tests.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ts-definitions/asyncblock/asyncblock.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ts-definitions/express/express.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/ts-definitions/express/express.d.ts -------------------------------------------------------------------------------- /ts-definitions/mocha/mocha.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/ts-definitions/mocha/mocha.d.ts -------------------------------------------------------------------------------- /ts-definitions/node/node.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/ts-definitions/node/node.d.ts -------------------------------------------------------------------------------- /ts-definitions/should/should.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/ts-definitions/should/should.d.ts -------------------------------------------------------------------------------- /ts-definitions/sinon/sinon-1.5.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/ts-definitions/sinon/sinon-1.5.d.ts -------------------------------------------------------------------------------- /ts-definitions/superagent/superagent.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/ts-definitions/superagent/superagent.d.ts -------------------------------------------------------------------------------- /ts-definitions/supertest/supertest.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/varju/typescript-node-mocha-example/HEAD/ts-definitions/supertest/supertest.d.ts --------------------------------------------------------------------------------