Clean logs

This commit is contained in:
yogevbd
2019-07-07 19:50:36 +03:00
parent e819748f54
commit 38255d4fdb
2 changed files with 0 additions and 2 deletions

View File

@@ -61,7 +61,6 @@ class NotificationsExampleApp extends Component {
}
onNotificationReceivedForeground(notification) {
alert(JSON.stringify(notification));
console.log('Notification Received Foreground: ' + JSON.stringify(notification));
this.setState({
notifications: [...this.state.notifications, notification]

View File

@@ -35,7 +35,6 @@ describe('Notifications-Android', () => {
it('should assign callback to native event upon listener registration', () => {
expect(deviceEventEmitterListenerStub).toHaveBeenCalledTimes(0);
const userListener = () => {};
console.log(libUnderTest);
libUnderTest.NotificationsAndroid.setRegistrationTokenUpdateListener(userListener);
expect(deviceEventEmitterListenerStub).toHaveBeenCalledWith('remoteNotificationsRegistered', userListener);