/* eslint-env node, mocha */
const expect = require('chai').expect
const scheduler = require('../../src/bin/scheduler.js')

describe('bin > scheduler', () => {
  it('can run the scheduler server', () => {
    expect(scheduler).to.exist
  })
})

/* eslint-env node, mocha */
const expect = require('chai').expect
const proxyquire = require('proxyquire').noCallThru()
const scheduler = proxyquire('../../src/bin/scheduler.js', {
  '../config/jobs.js': []
})

describe('bin > scheduler', () => {
  it('can run the scheduler server', () => {
    expect(scheduler).to.exist
  })
})

Make sure workers are not getting executed for tests
Make sure workers are not getting executed for tests
