Browse Source

fixed test

Daniel Zlotin 7 years ago
parent
commit
d3736d35f3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/adapters/NativeEventsReceiver.test.js

+ 1
- 1
src/adapters/NativeEventsReceiver.test.js View File

14
     uut.onAppLaunched(callback);
14
     uut.onAppLaunched(callback);
15
     expect(callback).not.toHaveBeenCalled();
15
     expect(callback).not.toHaveBeenCalled();
16
     expect(eventEmitterMock.addListener).toHaveBeenCalledTimes(1);
16
     expect(eventEmitterMock.addListener).toHaveBeenCalledTimes(1);
17
-    expect(eventEmitterMock.addListener).toHaveBeenCalledWith('onAppLaunched', callback);
17
+    expect(eventEmitterMock.addListener).toHaveBeenCalledWith('RNN_onAppLaunched', callback);
18
   });
18
   });
19
 });
19
 });