Browse Source

user tester additions

master
ritfsaecdaq 6 years ago
parent
commit
2d3cb67def
2 changed files with 5 additions and 0 deletions
  1. +4
    -0
      googletrendsgame/server/test/trendsTest.js
  2. +1
    -0
      googletrendsgame/server/test/userTester.js

+ 4
- 0
googletrendsgame/server/test/trendsTest.js View File

@ -0,0 +1,4 @@
const trends = require('../trendsAPI');
trends.getPopularity('large').then(function(data){
console.log(data);
});

+ 1
- 0
googletrendsgame/server/test/userTester.js View File

@ -18,6 +18,7 @@ rl.on('line', function(line){
case 'register': case 'register':
case 'submitWord': case 'submitWord':
case 'updateRoom':
socket.emit(event, msg); socket.emit(event, msg);
} }
}); });

Loading…
Cancel
Save