Skip to content

Commit b28b87c

Browse files
author
Juan Julián (JJ) Merelo
committed
Revert part of the change which is in #1218
1 parent 76910b8 commit b28b87c

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

feature-utils/poly-import/utils/zipfile-mock.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,12 @@ export class ZipFileEntryMock {
3333
}
3434

3535
export class ZipFileMock {
36-
constructor(
37-
dataFilePairs = [["foo.json", { foo: "bar" }]],
38-
name = "facebook-facebookuser.zip"
39-
) {
36+
constructor(name = "facebook-facebookuser.zip") {
4037
this.id = "polypod://de71f571-d90a-45e0-b007-d8f059e0541b";
4138
this.time = new Date("2021-09-20T16:37:36.243Z");
4239
this.name = name;
4340
this.size = MINIMUM_FILE_SIZE;
4441
this._entriesPathHash = new Map();
45-
dataFilePairs.forEach(([path, dataset]) =>
46-
this.addJsonEntry(path, dataset)
47-
);
4842
}
4943

5044
async getEntries() {

features/facebookImport/test/ministory/report-metadata.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ describe("Report metadata analysis", () => {
4444
),
4545
],
4646
]);
47+
console.log(zipFile);
4748
const { facebookAccount, analysisResult } = await runAnalysisForExport(
4849
ReportMetadataAnalysis,
4950
zipFile

0 commit comments

Comments
 (0)