Skip to content

Commit

Permalink
Updated develop snapshot test to reflect all changes
Browse files Browse the repository at this point in the history
  • Loading branch information
astewartgit committed Mar 4, 2019
1 parent 46d9016 commit 3377557
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1,046 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import "react-native";
import React from "react";
import TabNav from "../components/Navigation/TabNav";
import App from "../App.js";

import renderer from "react-test-renderer";

test("renders correctly", () => {
const tree = renderer.create(<TabNav />).toJSON();
const tree = renderer.create(<App />).toJSON();
expect(tree).toMatchSnapshot();
});
3 changes: 3 additions & 0 deletions fytProject/__tests__/__snapshots__/FullRenderTest.js.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`renders correctly 1`] = `null`;
Loading

0 comments on commit 3377557

Please sign in to comment.