Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ZiiSolutions/2abe5a56611a8e20481876a9670ddaff to your computer and use it in GitHub Desktop.
Save ZiiSolutions/2abe5a56611a8e20481876a9670ddaff to your computer and use it in GitHub Desktop.
'use strict';
const chai = require('chai');
const mocha = require('mocha');
const should = chai.should();
const sinon = require('sinon');
const expect = chai.expect;
const ImageDomainExchangeNotificationConsumer
= require('../../lib/consumers/image-domain-exchange-notification-consumer');
let notificationConsumer = new ImageDomainExchangeNotificationConsumer('amqps://foo', '1000');
let sandbox;
describe('ImageDomainExchangeNotificationConsumer', function () {
beforeEach(function (done) {
sandbox = sinon.sandbox.create();
done();
});
afterEach(function (done) {
sandbox.restore();
done();
});
it('should exist', (done) => {
ImageDomainExchangeNotificationConsumer.should.exist;
done();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment