Adding jest on the server process

This commit is contained in:
2021-02-14 14:25:09 +01:00
parent 993a451df0
commit 0621557f22
4 changed files with 3731 additions and 36 deletions

13
server/rooms/game.test.ts Normal file
View 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();
});
});
});