feat: add getRoomInfo to jackbox-api for full room data including host
Made-with: Cursor
This commit is contained in:
11
tests/api/jackbox-api.test.js
Normal file
11
tests/api/jackbox-api.test.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const { getRoomInfo, checkRoomStatus } = require('../../backend/utils/jackbox-api');
|
||||
|
||||
describe('jackbox-api exports', () => {
|
||||
test('getRoomInfo is exported as a function', () => {
|
||||
expect(typeof getRoomInfo).toBe('function');
|
||||
});
|
||||
|
||||
test('checkRoomStatus is still exported', () => {
|
||||
expect(typeof checkRoomStatus).toBe('function');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user