Mounts createLiveQueryServer, fix babel induced problem

This commit is contained in:
Florent Vilmart
2016-03-23 09:19:09 -04:00
parent f5fdedfbc7
commit ddb76a8650
2 changed files with 19 additions and 11 deletions

View File

@@ -228,4 +228,12 @@ describe('server', () => {
done();
})
});
it('has createLiveQueryServer', done => {
// original implementation through the factory
expect(typeof ParseServer.ParseServer.createLiveQueryServer).toEqual('function');
// For import calls
expect(typeof ParseServer.default.createLiveQueryServer).toEqual('function');
done();
});
});