Skip to content

Commit

Permalink
Add backend testing.
Browse files Browse the repository at this point in the history
Use generalized game client to add a simple nodejs test harness for
the game server, using the websocket protocol to drive the game.
  • Loading branch information
kannanvijayan committed Nov 9, 2023
1 parent 14ecaba commit b7c8563
Show file tree
Hide file tree
Showing 13 changed files with 5,269 additions and 0 deletions.
17 changes: 17 additions & 0 deletions clients/backend-tests/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* eslint-disable no-undef */
module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
],
rules: {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'@typescript-eslint/no-explicit-any': 'off',
'@stylistic/eol-last': ['error', 'always'],
},
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', '@stylistic', '@stylistic/ts'],
root: true,
}
Loading

0 comments on commit b7c8563

Please sign in to comment.