Fix jwt-token
This commit is contained in:
@@ -49,6 +49,9 @@ describe('Detections Routes', () => {
|
||||
.get('/detections')
|
||||
.set('Authorization', `Bearer ${token}`);
|
||||
|
||||
console.log('🔍 Test - Response status:', response.status);
|
||||
console.log('🔍 Test - Response body:', response.body);
|
||||
|
||||
expect(response.status).to.equal(200);
|
||||
expect(response.body.success).to.be.true;
|
||||
expect(response.body.data.detections).to.be.an('array');
|
||||
|
||||
Reference in New Issue
Block a user