UNPKG

@qikdev/sdk

Version:

Promise based Javascript SDK

42 lines (28 loc) 820 B
// // /* global describe, it, before */ // import chai from 'chai'; import Qik from '../src/index.js'; var qik = new Qik(); var {data} = await qik.api.get(`/version`); // chai.expect(); // const expect = chai.expect; // let qik; // describe('Load Qik Core', () => { // before(() => { // qik = new QikCore(); // }); // describe('When i try and start Qik', () => { // it('It should return a Qik instance', () => { // expect(qik.auth);//.to.be.equal('Cat'); // }); // }); // }); // // describe('Given an instance of my Dog library', () => { // // before(() => { // // lib = new Dog(); // // }); // // describe('when I need the name', () => { // // it('should return the name', () => { // // expect(lib.name).to.be.equal('Dog'); // // }); // // }); // // });