UNPKG

ggbgg

Version:

package to collect data from boardgamegeek

19 lines (16 loc) 474 B
const { expect } = require('chai'); const ggbgg = require('./../src/getters'); describe('getUser', () => { it('should return valid use with passed correct name', () => { const user = 1; expect(user).is.equal(1); }); }); describe('getGame', () => { it('should return valid use with passed correct name', () => { const promise = ggbgg.get.item(2500); promise.then((game) => { expect(game.items.item.yearpublished).is.equal(''); }); }); });