1
0
Fork 0
mirror of https://github.com/demostf/demo.js synced 2026-06-03 16:44:12 +02:00

adjust userMessage tests to new UserMessagePacket format

This commit is contained in:
Robin Appelman 2017-11-19 15:31:58 +01:00
commit 9f113cc643
2 changed files with 4 additions and 2 deletions

View file

@ -34,7 +34,8 @@ const data = [
24];
const expected = {
packetType: 'textMsg',
packetType: 'userMessage',
userMessageType: 'textMsg',
destType: HudTextLocation.HUD_PRINTNOTIFY,
text: '#Game_connected',
substitute1: 'sekr',

View file

@ -63,7 +63,8 @@ const data = [
0,
0];
const expected = {
packetType: 'sayText2',
packetType: 'userMessage',
userMessageType: 'sayText2',
client: 3,
raw: 1,
kind: 'TF_Chat_Team_Dead',