Adding jest on the server process
This commit is contained in:
1 parent
993a451df0
commit
0621557f22
4 files changed
+3731
-36
No files matched your search
@@ -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