From 4f0467994a7b26cce72ac246c75e8382431e1af6 Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Wed, 4 Apr 2018 16:38:49 -0700 Subject: [PATCH] Add smoke test for Redis sample --- appengine/redis/package.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/appengine/redis/package.json b/appengine/redis/package.json index f91a7e2617..1b35c7ee20 100644 --- a/appengine/redis/package.json +++ b/appengine/redis/package.json @@ -8,6 +8,25 @@ "engines": { "node": ">=4.3.2" }, + "scripts": { + "start": "node server.js", + "test": "repo-tools test app -- server.js" + }, + "cloud-repo-tools": { + "test": { + "app": { + "requiredEnvVars": [ + "redisHost", + "redisPort", + "redisKey" + ], + "msg": "IPs:\n::1;", + "args": [ + "server.js" + ] + } + } + }, "dependencies": { "nconf": "0.10.0", "redis": "2.8.0"