diff --git a/squarenotsquare/__tests__/App-test.js b/squarenotsquare/__tests__/App-test.js index c741a5f..ed57c8d 100644 --- a/squarenotsquare/__tests__/App-test.js +++ b/squarenotsquare/__tests__/App-test.js @@ -11,6 +11,8 @@ import HighScore from '../src/screens/HighScore'; import Home from '../src/screens/Home'; import Splash from '../src/screens/Splash'; import NineKey from '../src/components/NineKey'; +import AdditionGame from '../src/screens/AdditionGame'; +import Score from '../src/screens/Score'; import ScrollingPicker from '../src/components/ScrollingPicker'; it('renders square stack', () => { @@ -26,6 +28,14 @@ it('renders game component', () => { ); }); +it('renders addition game component', () => { + const mockStore = ConfigStore; + renderer.create( + + + ); +}); + it('renders highscore component', () => { const mockStore = ConfigStore; renderer.create( @@ -44,6 +54,14 @@ it('renders home component', () => { ); }); +it ('renders score component', () => { + const mockStore = ConfigStore; + renderer.create( + + + ); +}) + it('renders splash component', () => { renderer.create(); });