mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
a01d44fa6a
- this makes it much easier to stub this behaviour in tests - also makes more sense
12 lines
350 B
JavaScript
12 lines
350 B
JavaScript
// Switch these lines once there are useful utils
|
|
// const testUtils = require('./utils');
|
|
require('./utils');
|
|
|
|
const bootstrapSocket = require('../lib/bootstrap-socket');
|
|
|
|
describe('Connect and send', function () {
|
|
it('Resolves a promise for a bad call', function () {
|
|
bootstrapSocket.connectAndSend().should.be.fulfilled();
|
|
});
|
|
});
|