chore(server): removed logs and increased consistency

This commit is contained in:
Roberto Tonino 2021-04-24 21:23:16 +02:00
parent f83d017688
commit c9cb976f64
2 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,6 @@
// @ts-expect-error
import { Deezer } from 'deezer-js'
console.log('init!')
export const dz = new Deezer()
let homeCache: any, chartsCache: any

View File

@ -1,5 +1,3 @@
import request from 'supertest'
import { app } from '../../../app'
import { appSendGet } from '../../../tests/utils'
describe('albumSearch requests', () => {
@ -32,7 +30,7 @@ describe('albumSearch requests', () => {
]
for (const uri of batchCalls) {
responseStatusCollector.push((await request(app).get(uri).send()).status)
responseStatusCollector.push((await appSendGet(uri)).status)
}
expect(responseStatusCollector).toMatchObject(new Array(responseStatusCollector.length).fill(400))