module.exports = async () => {
  return {
    type: 'plain',
    targets: {
      foo: {},
    },
    apiKey: 'tom',
    apiSecret: 'dooner',
  };
};

module.exports = () => {
  return new Promise((resolve) => {
    setTimeout(() => {
      resolve({
        type: 'plain',
        targets: {
          foo: {},
        },
        apiKey: 'tom',
        apiSecret: 'dooner',
      });
    }, 10);
  });
};
Update config to pass node 6 tests
Update config to pass node 6 tests
