UNPKG

js-data-cloudmine

Version:
41 lines (36 loc) 871 B
/* global JSDataCloudMine, cloudmine */ window.assert = JSDataAdapterTests.assert var ws = new cloudmine.WebService({ appid: window.APP_ID, apikey: window.APP_KEY }) JSDataAdapterTests.init({ debug: true, JSData: JSData, Adapter: JSDataCloudMine.CloudMineAdapter, adapterConfig: { debug: true, ws: ws }, // Unsupported. xfeatures: [ 'findBelongsToHasManyNested', 'findHasManyLocalKeys', 'findHasManyForeignKeys', 'findAllInOp', 'findAllLikeOp', 'findAllOpNotFound', 'findAllBelongsTo', 'findAllBelongsToHasMany', 'findAllBelongsToHasManyNested', 'filterOnRelations', 'findAllGroupedWhere' ] }) describe('exports', function () { it('should have correct exports', function () { assert(JSDataCloudMine) assert(JSDataCloudMine.CloudMineAdapter) assert(JSDataCloudMine.version) }) })