Skip to content

Commit 326079f

Browse files
author
Emmanouil Konstantinidis
committed
Fix tests
1 parent c62130c commit 326079f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/js/__tests__/components/navigation.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@ describe('Test for Navigation', function () {
9595

9696
it('Should test the refreshNotifications method', function () {
9797

98-
spyOn(Actions, 'getNotifications');
98+
spyOn(Actions, 'getNotifications');
9999

100-
AuthStore.authStatus = function () {
101-
return true;
102-
};
100+
AuthStore.authStatus = function () {
101+
return true;
102+
};
103103

104-
var instance = TestUtils.renderIntoDocument(<Navigation />);
105-
instance.refreshNotifications();
106-
expect(Actions.getNotifications).toHaveBeenCalled();
104+
var instance = TestUtils.renderIntoDocument(<Navigation />);
105+
instance.refreshNotifications();
106+
expect(Actions.getNotifications).toHaveBeenCalled();
107107

108-
});
108+
});
109109

110110
});

0 commit comments

Comments
 (0)