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