Skip to content

Commit

Permalink
Add x1,x2,y1,y2,width and height properties to GameObject. Add GameMa…
Browse files Browse the repository at this point in the history
…p and corresponding unit test.
  • Loading branch information
twinprime committed Dec 23, 2020
1 parent 75031e0 commit bf3750b
Show file tree
Hide file tree
Showing 26 changed files with 4,659 additions and 16,556 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
dist
# don't lint nyc coverage output
coverage
jest.config.js
6 changes: 6 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
transform: {'^.+\\.ts?$': 'ts-jest'},
testEnvironment: 'node',
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node']
};
Loading

0 comments on commit bf3750b

Please sign in to comment.