Fix tests, upgrade node
This commit is contained in:
parent
08b121f96f
commit
c4354a6600
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM node:10.15.3-alpine
|
FROM node:12.14.1-alpine3.11
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:10.15.3-alpine
|
FROM node:12.14.1-alpine3.11
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ describe('Google Play Music', () => {
|
||||||
|
|
||||||
it('should find track by search', async function (){
|
it('should find track by search', async function (){
|
||||||
const result = await google.search({type: 'track', artist: {name: 'Jamie xx'}, albumName: 'In Colour', name: 'Loud Places'});
|
const result = await google.search({type: 'track', artist: {name: 'Jamie xx'}, albumName: 'In Colour', name: 'Loud Places'});
|
||||||
result.name.should.equal('Loud Places');
|
result.name.should.equal('Loud Places (feat. Romy)');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should find awkward track by search', async function (){
|
it('should find awkward track by search', async function (){
|
||||||
|
|
|
@ -23,7 +23,7 @@ describe('iTunes Music', function(){
|
||||||
|
|
||||||
it('should find awkward album by search', async function (){
|
it('should find awkward album by search', async function (){
|
||||||
const result = await itunes.search({type: 'album', artist: {name: 'Anavitória'}, name: 'Fica'});
|
const result = await itunes.search({type: 'album', artist: {name: 'Anavitória'}, name: 'Fica'});
|
||||||
result.name.should.equal('Fica AnaVitoria - Single');
|
result.name.should.equal('Fica (feat. Matheus & Kauan) - Single');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should find track by search', async function (){
|
it('should find track by search', async function (){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue