Fix jwt-token
This commit is contained in:
@@ -27,7 +27,10 @@ describe('Detectors Routes', () => {
|
||||
req.io = {
|
||||
emit: () => {}, // Mock emit function that does nothing
|
||||
emitToDashboard: () => {},
|
||||
emitToDevice: () => {}
|
||||
emitToDevice: () => {},
|
||||
to: (room) => ({
|
||||
emit: () => {} // Mock room-based emit for tenant isolation
|
||||
})
|
||||
};
|
||||
next();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user