()
| 6 | let gameStore = []; |
| 7 | |
| 8 | function getInitialState() { |
| 9 | return { |
| 10 | rows: [ |
| 11 | ['', '', ''], |
| 12 | ['', '', ''], |
| 13 | ['', '', ''], |
| 14 | ], |
| 15 | turn: 'X', |
| 16 | winner: undefined, |
| 17 | gameList: gameStore, |
| 18 | }; |
| 19 | } |
| 20 | |
| 21 | function checkWin(rows) { |
| 22 | const combos = [ |
no outgoing calls
no test coverage detected