Move events processing to PSR

Summary: Means that attribution is now part of the export, too.

Reviewed By: oprisnik

Differential Revision: D15877937

fbshipit-source-id: e089597269b8977320d06284179f72d40d01ebf2
This commit is contained in:
Pascal Hartig
2019-06-20 03:46:26 -07:00
committed by Facebook Github Bot
parent 5c497d3eea
commit e3f88e2a7b
2 changed files with 24 additions and 18 deletions

View File

@@ -54,6 +54,7 @@ function mockPersistedState(
imagesMap,
closeableReferenceLeaks: [],
isLeakTrackingEnabled: false,
nextEventId: 0,
};
}
@@ -238,6 +239,7 @@ test('the metric reducer with the multiple events', () => {
const persistedState = {
surfaceList: new Set(),
images: [],
nextEventId: 0,
events,
imagesMap,
};