1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1× 1× 1× 1× | 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',
});
});
});
|