1 changed files with 6 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||||
|
import { squareRef, navigate } from "../src/navigation/SquareNav"; |
||||
|
|
||||
|
test('SquareNav calls navigation ref', () => { |
||||
|
let postNav = navigate('notascreen', {}); |
||||
|
expect(postNav).toEqual(true); |
||||
|
}); |
Loading…
Reference in new issue