homura-js
Version:
LastFM API Wrapper
11 lines (9 loc) • 390 B
JavaScript
import Homura from '../lib/homura';
describe('Users Homura Wrapper tests', () => {
it('Should return information from Atencioso user.', async () => {
const Wrapper = new Homura("YOUR API KEY")
const response = await Wrapper.users.getInfo('Atencioso')
.then(res => { return res.user.name } )
expect(response).toContain('atencioso')
})
})