From 183f354a67904d4c405b420ef34e24394ba2129d Mon Sep 17 00:00:00 2001 From: Jason Dobry Date: Wed, 3 Aug 2016 15:51:39 -0700 Subject: [PATCH] Refactored tests (#159) * Refactor tests. * Tweak build. * Tweak build. * More tests. * Tweak build. * Tweak build. * Fix build. * Fix build. * Speed up build. * Fix build. * Remove extra dep. * Investigate why 0.12 fails. * Scripts. * More tests. * Upgrades * Upgrades * Update readme --- packages/google-cloud-node/samples/package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/google-cloud-node/samples/package.json b/packages/google-cloud-node/samples/package.json index a0949af7d21a..c0df797e2de7 100644 --- a/packages/google-cloud-node/samples/package.json +++ b/packages/google-cloud-node/samples/package.json @@ -1,12 +1,12 @@ { "name": "nodejs-docs-samples-speech", - "description": "Node.js samples for Google Cloud Speech API.", "version": "0.0.1", "private": true, "license": "Apache Version 2.0", "author": "Google Inc.", - "engines": { - "node": ">=0.10.x" + "scripts": { + "test": "mocha -R spec -t 120000 --require intelli-espower-loader ../test/_setup.js test/*.test.js", + "system-test": "mocha -R spec -t 120000 --require intelli-espower-loader ../system-test/_setup.js system-test/*.test.js" }, "dependencies": { "async": "^1.5.2", @@ -14,5 +14,8 @@ "google-proto-files": "^0.3.0", "googleapis": "^12.0.0", "grpc": "^0.15.0" + }, + "devDependencies": { + "mocha": "^2.5.3" } }