|
@ -10,6 +10,7 @@ import Game from '../src/screens/Game'; |
|
|
import HighScore from '../src/screens/HighScore'; |
|
|
import HighScore from '../src/screens/HighScore'; |
|
|
import Home from '../src/screens/Home'; |
|
|
import Home from '../src/screens/Home'; |
|
|
import Splash from '../src/screens/Splash'; |
|
|
import Splash from '../src/screens/Splash'; |
|
|
|
|
|
import NineKey from '../src/components/NineKey'; |
|
|
jest.useFakeTimers() |
|
|
jest.useFakeTimers() |
|
|
|
|
|
|
|
|
it('renders square stack', () => { |
|
|
it('renders square stack', () => { |
|
@ -45,4 +46,8 @@ it('renders home component', () => { |
|
|
|
|
|
|
|
|
it('renders splash component', () => { |
|
|
it('renders splash component', () => { |
|
|
renderer.create(<Splash />); |
|
|
renderer.create(<Splash />); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
it('renders ninekey component', () => { |
|
|
|
|
|
renderer.create(<NineKey />) |
|
|
|
|
|
}) |