suite('bin/schedule-hooks.js', function() {
  var assert            = require('assert');
  var Scheduler         = require('../src/scheduler');
  var helper            = require('./helper');

  // these tests require Azure credentials (for the Hooks table)
  if (!helper.hasTcCredentials) {
    this.pending = true;
  }

  test('schedule_hooks launches a scheduler', async () => {
    var scheduler = await helper.load('schedulerNoStart', helper.loadOptions);
    assert(scheduler instanceof Scheduler);
  });
});

suite('bin/schedule-hooks.js', function() {
  var assert            = require('assert');
  var Scheduler         = require('../src/scheduler');
  var helper            = require('./helper');

  // these tests require Azure credentials (for the Hooks table)
  if (!helper.haveRealCredentials) {
    this.pending = true;
  }

  test('schedule_hooks launches a scheduler', async () => {
    var scheduler = await helper.load('schedulerNoStart', helper.loadOptions);
    assert(scheduler instanceof Scheduler);
  });
});

Use the right property name to detect real credentials
Use the right property name to detect real credentials

I assume this was an error on my part in trying to make the tests
pending when there are no credentials.
