fix: hydrate id export metrics and remove new tier columns
This commit is contained in:
@@ -102,6 +102,9 @@ describe("audience-profile-csv", () => {
|
||||
expect(headerLine).toContain("观众画像-31-40占比");
|
||||
expect(headerLine).toContain("粉丝画像-一线城市占比");
|
||||
expect(headerLine).toContain("铁粉画像-都市蓝领占比");
|
||||
expect(headerLine).not.toContain("观众画像-新一线城市占比");
|
||||
expect(headerLine).not.toContain("粉丝画像-新一线城市占比");
|
||||
expect(headerLine).not.toContain("铁粉画像-新一线城市占比");
|
||||
expect(headerLine).not.toContain("省份");
|
||||
expect(headerLine).not.toContain("地域TOP");
|
||||
expect(headerLine).not.toContain("兴趣TOP");
|
||||
@@ -183,10 +186,10 @@ describe("audience-profile-csv", () => {
|
||||
|
||||
expect(readCsvValue(csv, "铁粉画像-41-50占比")).toBe("0%");
|
||||
expect(readCsvValue(csv, "铁粉画像-50+占比")).toBe("0%");
|
||||
expect(readCsvValue(csv, "铁粉画像-新一线城市占比")).toBe("0%");
|
||||
expect(readCsvValue(csv, "铁粉画像-五线城市占比")).toBe("0%");
|
||||
expect(readCsvValue(csv, "铁粉画像-都市银发占比")).toBe("0%");
|
||||
expect(readCsvValue(csv, "铁粉画像-Z世代占比")).toBe("0%");
|
||||
expect(csv.split("\n")[0]).not.toContain("新一线城市占比");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user