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