Skip to content

Commit eee1e2f

Browse files
committed
Fix linting errors for scheduleinstance code sample
1 parent 9e0a8fe commit eee1e2f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

functions/scheduleinstance/test/index.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function getMocks () {
8080
test.beforeEach(tools.stubConsole);
8181
test.afterEach.always(tools.restoreConsole);
8282

83-
/////////////////////////// startInstanceHttp //////////////////////////////
83+
/** Tests for startInstanceHttp */
8484

8585
test(`startInstanceHttp: should accept application/json`, async (t) => {
8686
const mocks = getMocks();
@@ -208,7 +208,7 @@ test(`startInstanceHttp: should fail with empty request body`, async (t) => {
208208
t.deepEqual(mocks.res.send.firstCall.args[0], {error: `Attribute 'zone' missing from payload`});
209209
});
210210

211-
/////////////////////////// stopInstanceHttp //////////////////////////////
211+
/** Tests for stopInstanceHttp */
212212

213213
test(`stopInstanceHttp: should accept application/json`, async (t) => {
214214
const mocks = getMocks();
@@ -336,7 +336,7 @@ test(`stopInstanceHttp: should fail with empty request body`, async (t) => {
336336
t.deepEqual(mocks.res.send.firstCall.args[0], {error: `Attribute 'zone' missing from payload`});
337337
});
338338

339-
/////////////////////////// startInstancePubSub //////////////////////////////
339+
/** Tests for startInstancePubSub */
340340

341341
test(`startInstancePubSub: should accept JSON-formatted event payload`, async (t) => {
342342
const mocks = getMocks();
@@ -382,7 +382,7 @@ test(`startInstancePubSub: should fail with empty event payload`, async (t) => {
382382
t.deepEqual(mocks.callback.firstCall.args[0], new Error(`Attribute 'zone' missing from payload`));
383383
});
384384

385-
/////////////////////////// stopInstancePubSub //////////////////////////////
385+
/** Tests for stopInstancePubSub */
386386

387387
test(`stopInstancePubSub: should accept JSON-formatted event payload`, async (t) => {
388388
const mocks = getMocks();

0 commit comments

Comments
 (0)