From 294a04550515569db720ffbc2ffe16ea6ce1cc0e Mon Sep 17 00:00:00 2001 From: Tim Glasgow Date: Wed, 10 Aug 2022 14:31:48 -0500 Subject: [PATCH] unused component --- squarenotsquare/__tests__/App-test.js | 6 +----- squarenotsquare/src/navigation/SquareStack.js | 6 ------ squarenotsquare/src/screens/Settings.js | 14 -------------- 3 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 squarenotsquare/src/screens/Settings.js diff --git a/squarenotsquare/__tests__/App-test.js b/squarenotsquare/__tests__/App-test.js index 07a1366..9d4eafd 100644 --- a/squarenotsquare/__tests__/App-test.js +++ b/squarenotsquare/__tests__/App-test.js @@ -11,6 +11,7 @@ import HighScore from '../src/screens/HighScore'; import Home from '../src/screens/Home'; import Settings from '../src/screens/Settings'; import Splash from '../src/screens/Splash'; +jest.useFakeTimers() it('renders square stack', () => { const mockStore = ConfigStore; @@ -43,11 +44,6 @@ it('renders home component', () => { ); }); -it('renders settings component', () => { - const mockStore = ConfigStore; - return renderer.create(); -}); - it('renders splash component', () => { return renderer.create(); }); \ No newline at end of file diff --git a/squarenotsquare/src/navigation/SquareStack.js b/squarenotsquare/src/navigation/SquareStack.js index 379fa99..ba56a1d 100644 --- a/squarenotsquare/src/navigation/SquareStack.js +++ b/squarenotsquare/src/navigation/SquareStack.js @@ -6,7 +6,6 @@ import {SquareRef} from './SquareNav'; import Home from '../screens/Home'; import Game from '../screens/Game'; import HighScore from '../screens/HighScore'; -import Settings from '../screens/Settings'; import Splash from '../screens/Splash'; import Score from '../screens/Score'; import AdditionGame from '../screens/AdditionGame'; @@ -34,11 +33,6 @@ function SquareStack() { component={HighScore} options={noHeader} /> - - test - - ); -} - -export default Settings; \ No newline at end of file