Skip to content

Commit 44e7945

Browse files
author
Anthony Du Pont
committed
🐛 Fix Unit Test
1 parent 33aa532 commit 44e7945

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/core.tests.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ describe('Highway.Core', () => {
8484
it('Should call `beforeFetch` method on `pushState`', () => {
8585
const Core = new Highway.Core();
8686

87+
Core.link = a;
8788
Core.beforeFetch = sinon.spy();
8889
Core.pushState({ target: { href: '/foo' }});
8990

0 commit comments

Comments
 (0)