fix: Update notifications lib to make it testable

closes #7770
closes #7782
This commit is contained in:
Blade Barringer
2016-09-12 16:59:52 -05:00
parent 9d537d93d8
commit d31dc6d9a9
9 changed files with 20 additions and 14 deletions

View File

@@ -29,7 +29,7 @@ describe('pushNotifications', () => {
send: apnSendSpy,
});
sendPushNotification = requireAgain(pathToPushNotifications);
sendPushNotification = requireAgain(pathToPushNotifications).sendNotification;
});
afterEach(() => {