chore(server): removed logs and increased consistency
This commit is contained in:
parent
f83d017688
commit
c9cb976f64
@ -1,7 +1,6 @@
|
|||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
import { Deezer } from 'deezer-js'
|
import { Deezer } from 'deezer-js'
|
||||||
|
|
||||||
console.log('init!')
|
|
||||||
export const dz = new Deezer()
|
export const dz = new Deezer()
|
||||||
let homeCache: any, chartsCache: any
|
let homeCache: any, chartsCache: any
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
import request from 'supertest'
|
|
||||||
import { app } from '../../../app'
|
|
||||||
import { appSendGet } from '../../../tests/utils'
|
import { appSendGet } from '../../../tests/utils'
|
||||||
|
|
||||||
describe('albumSearch requests', () => {
|
describe('albumSearch requests', () => {
|
||||||
@ -32,7 +30,7 @@ describe('albumSearch requests', () => {
|
|||||||
]
|
]
|
||||||
|
|
||||||
for (const uri of batchCalls) {
|
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))
|
expect(responseStatusCollector).toMatchObject(new Array(responseStatusCollector.length).fill(400))
|
||||||
|
Loading…
Reference in New Issue
Block a user