UNPKG

@gameroom/gameroom-kit

Version:

Node kit for the Gameroom API

22 lines (20 loc) 523 B
let chai = require('chai'), should = chai.should(), faker = require('faker'), { models } = require('../../'), { Payment_Report } = models; describe('Payment_Report', () => { describe('Payment_Report.get()', () => { it('should get a payment report', async () => { let result, error; try { result = await Payment_Report.get(); } catch(err) { error = err; }; should.not.exist(error); should.exist(result); result.should.be.a('array'); }); }); });