12 lines
353 B
JavaScript
12 lines
353 B
JavaScript
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');
|
|
});
|
|
});
|