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

@@ -19,7 +19,7 @@ import {
import { removeFromArray } from '../../libs/collectionManipulators';
import { sendTxn as sendTxnEmail } from '../../libs/email';
import { encrypt } from '../../libs/encryption';
import sendPushNotification from '../../libs/pushNotifications';
import { sendNotification as sendPushNotification } from '../../libs/pushNotifications';
import pusher from '../../libs/pusher';
let api = {};

View File

@@ -16,7 +16,7 @@ import {
sendTxn as sendTxnEmail,
} from '../../libs/email';
import Bluebird from 'bluebird';
import sendPushNotification from '../../libs/pushNotifications';
import { sendNotification as sendPushNotification } from '../../libs/pushNotifications';
let api = {};

View File

@@ -16,7 +16,7 @@ import {
sendTxn as sendTxnEmail,
} from '../../libs/email';
import common from '../../../../common';
import sendPushNotification from '../../libs/pushNotifications';
import { sendNotification as sendPushNotification } from '../../libs/pushNotifications';
const questScrolls = common.content.quests;