all files / test/ queue-bull.js

80% Statements 4/5
100% Branches 0/0
66.67% Functions 2/3
100% Lines 4/4
1 2 3 4 5 6 7 8 9 10 11 12 13 14                   
import queueBull from '../src/queue-bull.js';
import mockRedis from 'redis-mock';
 
const queue = queueBull('test', () => mockRedis.createClient());
 
describe('queue-bull', () => {
  it('should be able to add an item to the queue', () => {
    queue.add({
      url: 'blah',
      method: 'blah',
    });
  });
});