Fix adapter imports

This commit is contained in:
Fosco Marotto
2016-03-29 14:08:46 -08:00
committed by Drew Gross
2 changed files with 12 additions and 5 deletions

View File

@@ -239,4 +239,11 @@ describe('server', () => {
expect(typeof ParseServer.default.createLiveQueryServer).toEqual('function');
done();
});
it('exposes all the "core" adapters', done => {
expect(ParseServer.S3Adapter).toThrow();
expect(ParseServer.GCSAdapter).toThrow('GCSAdapter requires an projectId');
expect(ParseServer.FileSystemAdapter).toThrow();
done();
});
});