Created
July 17, 2017 11:49
-
-
Save ZiiSolutions/2abe5a56611a8e20481876a9670ddaff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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