Skip to content

Commit 1c73580

Browse files
committed
test travis
1 parent 145ff6b commit 1c73580

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"directories": {
77
"lib": "lib",
88
"test": "test"
9-
109
},
1110
"publishConfig": {
1211
"access": "public"

test/woqlQuery.spec.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('woql query', function () {
1616
global.sandbox.stub(axios, "get").returns(Promise.resolve({status:200, data: {}}));
1717

1818
const woqlObject=WOQL.limit(2).start(0);
19-
woqlObject.execute(global.client);
19+
// woqlObject.execute(global.client);
2020
//WOQLClient.prototype.select = function (qurl, woql, opts)
2121
//global.client.select()
2222

@@ -458,13 +458,13 @@ describe('woql query object', function () {
458458
const woqlObject=WOQL.limit(2).start(0);
459459
//console.log(woqlObject.getAllDocuments().json());
460460

461-
woqlObject.loadVocabulary(global.client);
461+
//woqlObject.loadVocabulary(global.client);
462462
//expect(woqlObject.loadVocab(global.client).json()).to.eql(jsonObj);
463463

464464
})
465465

466466
it('check the isPaged method',function(){
467-
global.sandbox.stub(axios, "get").returns(Promise.resolve({status:200, data: {}}));
467+
//global.sandbox.stub(axios, "get").returns(Promise.resolve({status:200, data: {}}));
468468

469469
const woqlObjectTrue=WOQL.limit(2).start(0);
470470
const woqlObjectFalse=WOQL.select("V1", WOQL.triple("a", "b", "c"));
@@ -475,7 +475,7 @@ describe('woql query object', function () {
475475
})
476476

477477
it('check the getPaged method',function(){
478-
global.sandbox.stub(axios, "get").returns(Promise.resolve({status:200, data: {}}));
478+
//global.sandbox.stub(axios, "get").returns(Promise.resolve({status:200, data: {}}));
479479

480480
const woqlObject=WOQL.limit(2).start(0);
481481
const woqlObject2=WOQL.limit(3).start(10);
@@ -488,7 +488,7 @@ describe('woql query object', function () {
488488
})
489489

490490
it('check the setPage method',function(){
491-
global.sandbox.stub(axios, "get").returns(Promise.resolve({status:200, data: {}}));
491+
//global.sandbox.stub(axios, "get").returns(Promise.resolve({status:200, data: {}}));
492492

493493
const woqlObject=WOQL.limit(2).start(0);
494494

0 commit comments

Comments
 (0)