瀏覽代碼

fixed test

Daniel Zlotin 7 年之前
父節點
當前提交
d3736d35f3
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/adapters/NativeEventsReceiver.test.js

+ 1
- 1
src/adapters/NativeEventsReceiver.test.js 查看文件

@@ -14,6 +14,6 @@ describe('NativeEventsReceiver', () => {
14 14
     uut.onAppLaunched(callback);
15 15
     expect(callback).not.toHaveBeenCalled();
16 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
 });