Browse Source

nav test file

pull/1/head
Tim Glasgow 2 years ago
parent
commit
59be89dc27
  1. 6
      squarenotsquare/__tests__/Nav-test.js

6
squarenotsquare/__tests__/Nav-test.js

@ -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…
Cancel
Save