Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions functions/helloworld/test/sample.unit.http.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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: {}
};
Expand Down