From 85043f04cf4121ab80c1e6e9c058b8b52c83f7b7 Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Tue, 20 Dec 2022 09:36:45 -0800 Subject: [PATCH 1/2] Update region tag coverage --- .../helloworldHttp/test/sample.integration.http.test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functions/helloworld/helloworldHttp/test/sample.integration.http.test.js b/functions/helloworld/helloworldHttp/test/sample.integration.http.test.js index 075cabdf78..80292a0f76 100644 --- a/functions/helloworld/helloworldHttp/test/sample.integration.http.test.js +++ b/functions/helloworld/helloworldHttp/test/sample.integration.http.test.js @@ -19,8 +19,9 @@ const {getTestServer} = require('@google-cloud/functions-framework/testing'); // [END functions_http_integration_test] require('../'); - +// [START functions_http_integration_test] describe('functions_helloworld_http HTTP integration test', () => { +// [END functions_http_integration_test] // [START functions_http_integration_test] it('helloHttp: should print a name with req body', async () => { const server = getTestServer('helloHttp'); @@ -44,4 +45,6 @@ describe('functions_helloworld_http HTTP integration test', () => { .expect(200) .expect('Hello John!'); }); +// [START functions_http_integration_test] }); +// [END functions_http_integration_test] From 9ef299ca3af8e7e5f29123689866e3ade215c0b4 Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Tue, 20 Dec 2022 10:01:33 -0800 Subject: [PATCH 2/2] Update sample.integration.http.test.js --- .../helloworldHttp/test/sample.integration.http.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/helloworld/helloworldHttp/test/sample.integration.http.test.js b/functions/helloworld/helloworldHttp/test/sample.integration.http.test.js index 80292a0f76..f403d17223 100644 --- a/functions/helloworld/helloworldHttp/test/sample.integration.http.test.js +++ b/functions/helloworld/helloworldHttp/test/sample.integration.http.test.js @@ -21,7 +21,7 @@ const {getTestServer} = require('@google-cloud/functions-framework/testing'); require('../'); // [START functions_http_integration_test] describe('functions_helloworld_http HTTP integration test', () => { -// [END functions_http_integration_test] + // [END functions_http_integration_test] // [START functions_http_integration_test] it('helloHttp: should print a name with req body', async () => { const server = getTestServer('helloHttp'); @@ -45,6 +45,6 @@ describe('functions_helloworld_http HTTP integration test', () => { .expect(200) .expect('Hello John!'); }); -// [START functions_http_integration_test] + // [START functions_http_integration_test] }); // [END functions_http_integration_test]