We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec6419f commit 8ed9f9eCopy full SHA for 8ed9f9e
test/woqlQuery.spec.js
@@ -442,14 +442,13 @@ describe('pre-roll queries', function () {
442
443
describe('woql query object', function () {
444
445
- it('check the setVocabulary method',function(){
+ it('check the setVocabulary and getVocabulary method',function(){
446
global.sandbox.stub(axios, "get").returns(Promise.resolve({status:200, data: {}}));
447
448
const woqlObject=WOQL.limit(2).start(0);
449
woqlObject.setVocabulary("vocab");
450
- //console.log(woqlObject.getAllDocuments().json());
451
- //done();
452
- //expect(woqlObject.setVocabulary("vocab")).to.eql(jsonObj);
+
+ expect(woqlObject.getVocabulary()).to.eql("vocab");
453
454
})
455
0 commit comments