From 42eaf2cd50061b05ecde4a0d619ecbe55a276700 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 21 Sep 2018 13:06:22 -0400 Subject: [PATCH] move instance snippet tests to document-snippets/tests --- package.json | 2 +- samples/document-snippets/{test.js => tests/instance.js} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename samples/document-snippets/{test.js => tests/instance.js} (98%) diff --git a/package.json b/package.json index ce1f2e184..c28bbb40b 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "lint": "eslint src/ samples/ system-test/ test/", "prettier": "prettier --write src/*.js src/*/*.js samples/*.js samples/*/*.js test/*.js test/*/*.js system-test/*.js system-test/*/*.js", "system-test": "mocha system-test/*.js --timeout 600000", - "snippet-test": "mocha samples/document-snippets/test.js --timeout 600000", + "snippet-test": "mocha samples/document-snippets/tests/*.js --timeout 600000", "fix": "eslint --fix '**/*.js' && npm run prettier" }, "dependencies": { diff --git a/samples/document-snippets/test.js b/samples/document-snippets/tests/instance.js similarity index 98% rename from samples/document-snippets/test.js rename to samples/document-snippets/tests/instance.js index 51158058d..5e3cb5fe5 100644 --- a/samples/document-snippets/test.js +++ b/samples/document-snippets/tests/instance.js @@ -26,7 +26,7 @@ const CLUSTER_ID = `nodejs-bigtable-samples-${uuid.v4()}`.substr(0, 30); // Bigt // const APP_PROFILE_ID = `nodejs-bigtable-samples-${uuid.v4()}`.substr(0, 30); // Bigtable naming rules const TABLE_ID = `nodejs-bigtable-samples-${uuid.v4()}`.substr(0, 30); // Bigtable naming rules -const instanceSnippets = require('./instance.js'); +const instanceSnippets = require('../instance.js'); describe('Instance Snippets', function() { after(function(done) {