Skip to content

Commit

Permalink
Fix: Modify display of shallow copy of <Footer> and expect
Browse files Browse the repository at this point in the history
Modify display of shallow copy of <Footer> and example `expect` to work correctly
- This is a prerequisite before we start adding real tests

Resolves: N/a
See also: #197
  • Loading branch information
jdmedlock committed Feb 4, 2019
1 parent b9a8164 commit 204c12b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/Footer-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Footer from '../components/Footer/Footer';
test('Footer tbd', async () => {
// Render a Footer
const footer = shallow(<Footer />);
console.log('footer hasClass("connection-icon"): ', footer.hasClass('connection-icon'));
console.log('footer: ', footer.debug());

expect(footer.hasClass('connection-icon')).toBe(true) // Just for validating Jest setup
expect(footer.hasClass('connection-icon')); // Just for validating Jest setup
});

0 comments on commit 204c12b

Please sign in to comment.