Skip to content

Commit

Permalink
Sharing games via url (#8)
Browse files Browse the repository at this point in the history
Implemented sharing games via url

Other:
* created global testUtils helper for tests
* run linter and prettier before each commit
* updated npm packages
* using npm script for coverage calculation for more accurate reporting
* argus config tweaks
  • Loading branch information
ldgit authored Jun 9, 2019
1 parent 5e12ab1 commit 8b6c5c2
Show file tree
Hide file tree
Showing 20 changed files with 2,589 additions and 62 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ module.exports = {
},
env: {
browser: true,
mocha: true,
},
};
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ node_js:
- "10"
script:
- npm run test:all
after_success: npx nyc --all --reporter=lcov npm test && npx codecov
after_success: npm run coverage && npx codecov
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
[![Travis (.org)](https://img.shields.io/travis/ldgit/react-tic-tac-toe.svg?style=flat-square)](https://travis-ci.org/ldgit/react-tic-tac-toe)
[![Codecov](https://img.shields.io/codecov/c/github/ldgit/react-tic-tac-toe.svg?style=flat-square)](https://codecov.io/gh/ldgit/react-tic-tac-toe)

Tic-tac-toe and [Ultimate Tic-tac-toe](https://en.wikipedia.org/wiki/Ultimate_tic-tac-toe) games implemented using React library.
Tic-tac-toe and [Ultimate Tic-tac-toe](https://en.wikipedia.org/wiki/Ultimate_tic-tac-toe) games implemented using React library and [Redux](https://medium.com/@dan_abramov/you-might-not-need-redux-be46360cf367) approach.

See the [working example](https://ldgit.github.io/react-tic-tac-toe/).
8 changes: 4 additions & 4 deletions argus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ module.exports = {
sourceDir: 'src',
testRunnerCommand: {
command: 'npm',
arguments: ['run', 'test:file', '--'],
arguments: ['run', 'test:file', '--silent', '--'],
},
runAllTestsCommand: { command: 'npm', arguments: ['t'] },
runAllTestsCommand: { command: 'npm', arguments: ['t', '--silent'] },
},
{
extension: 'jsx',
Expand All @@ -18,9 +18,9 @@ module.exports = {
sourceDir: 'src',
testRunnerCommand: {
command: 'npm',
arguments: ['run', 'test:file', '--'],
arguments: ['run', 'test:file', '--silent', '--'],
},
runAllTestsCommand: { command: 'npm', arguments: ['t'] },
runAllTestsCommand: { command: 'npm', arguments: ['t', '--silent'] },
},
],
};
Loading

0 comments on commit 8b6c5c2

Please sign in to comment.