Fix adapter imports
This commit is contained in:
@@ -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("S3Adapter requires option 'accessKey' or env. variable S3_ACCESS_KEY");
|
||||
expect(ParseServer.GCSAdapter).toThrow('GCSAdapter requires an projectId');
|
||||
expect(ParseServer.FileSystemAdapter).toThrow();
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user