Browse Source
Merge pull request #276 from LN-Zap/fix/tests
fix(tests): fix nav test
renovate/lint-staged-8.x
JimmyMow
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
test/components/Nav.spec.js
|
|
@ -22,7 +22,6 @@ describe('default elements', () => { |
|
|
|
it('should render nav links', () => { |
|
|
|
expect(el.find(NavLink).at(0).props().to).toBe('/') |
|
|
|
expect(el.find(NavLink).at(1).props().to).toBe('/contacts') |
|
|
|
expect(el.find(NavLink).at(2).props().to).toBe('/network') |
|
|
|
}) |
|
|
|
it('should render buttons', () => { |
|
|
|
expect(el.find('.button').at(0).text()).toContain('Pay') |
|
|
|