diff --git a/functions/helloworld/test/sample.unit.http.test.js b/functions/helloworld/test/sample.unit.http.test.js index e08d1d6ec8..b495c3ca68 100644 --- a/functions/helloworld/test/sample.unit.http.test.js +++ b/functions/helloworld/test/sample.unit.http.test.js @@ -21,7 +21,7 @@ const uuid = require(`uuid`); const helloHttp = require(`..`).helloHttp; test(`helloHttp: should print a name`, t => { - // Initialize mocks + // Mock ExpressJS 'req' and 'res' parameters const name = uuid.v4(); const req = { body: { @@ -39,7 +39,7 @@ test(`helloHttp: should print a name`, t => { }); test(`helloHttp: should print hello world`, t => { - // Initialize mocks + // Mock ExpressJS 'req' and 'res' parameters const req = { body: {} };