Change tests for new Typescript change

This commit is contained in:
Samer Albahra
2019-05-13 20:54:03 -05:00
parent e94f8bf8ff
commit caf381ab73
9 changed files with 198 additions and 6040 deletions

View File

@@ -4,7 +4,7 @@
"version": "1.0.2",
"repository": "https://github.com/OpenSprinkler/Weather-Weather",
"scripts": {
"test": "mocha --exit test",
"test": "mocha --exit --require ts-node/register **/*.spec.ts",
"start": "node js/server",
"dev": "node scripts/serve",
"bundle": "npm run compile && zip weather.zip -r js package.json package-lock.json",
@@ -20,20 +20,23 @@
"suncalc": "^1.8.0"
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/cors": "^2.8.5",
"@types/cron": "^1.3.0",
"@types/dotenv": "^6.1.1",
"@types/express": "^4.16.1",
"@types/mocha": "^5.2.6",
"@types/moment-timezone": "^0.5.12",
"@types/node": "^10.14.6",
"@types/suncalc": "^1.8.0",
"chai": "^4.2.0",
"hippie": "^0.5.2",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"nock": "^9.6.1",
"mock-express-request": "^0.2.2",
"mock-express-response": "^0.2.2",
"nock": "^10.0.6",
"node-watch": "^0.6.2",
"nodemon": "^1.19.0",
"ts-node": "^8.1.0",
"typescript": "^3.4.5"
}
}