Adding jest on the server process
This commit is contained in:
13
server/rooms/game.test.ts
Normal file
13
server/rooms/game.test.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { GameRoom } from './game';
|
||||
|
||||
|
||||
describe("Room", function () {
|
||||
let room: GameRoom = null;
|
||||
|
||||
describe("onMessage / dispatchMessage", () => {
|
||||
it("* should handle if message is not registered", () => {
|
||||
room = new GameRoom();
|
||||
expect(room).not.toBeNull();
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user